{"id":19777467,"url":"https://github.com/ilib-js/ilib-loctool-webos-cpp","last_synced_at":"2025-04-30T19:32:33.982Z","repository":{"id":38848485,"uuid":"232031033","full_name":"iLib-js/ilib-loctool-webos-cpp","owner":"iLib-js","description":" ilib-webos-loctool-cpp is a plugin for the loctool allows it to read and localize cpp files. This plugins is optimized for webOS platform.","archived":false,"fork":false,"pushed_at":"2024-07-22T00:39:27.000Z","size":608,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2024-11-01T04:04:48.320Z","etag":null,"topics":["localization"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/ilib-loctool-webos-cpp","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iLib-js.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-06T05:33:30.000Z","updated_at":"2024-07-22T00:39:27.000Z","dependencies_parsed_at":"2023-11-26T13:16:30.707Z","dependency_job_id":"9d13ed32-97f6-4c27-a244-b3e3fbfc79da","html_url":"https://github.com/iLib-js/ilib-loctool-webos-cpp","commit_stats":{"total_commits":83,"total_committers":5,"mean_commits":16.6,"dds":0.06024096385542166,"last_synced_commit":"89e6558fb6101a58240c4f325d60b1e6a6fc08b4"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iLib-js%2Filib-loctool-webos-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iLib-js%2Filib-loctool-webos-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iLib-js%2Filib-loctool-webos-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iLib-js%2Filib-loctool-webos-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iLib-js","download_url":"https://codeload.github.com/iLib-js/ilib-loctool-webos-cpp/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224222241,"owners_count":17275981,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["localization"],"created_at":"2024-11-12T05:25:08.735Z","updated_at":"2025-04-30T19:32:33.969Z","avatar_url":"https://github.com/iLib-js.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003e :warning: **Deprecation Notice** :warning:\n\u003e This repository has been deprecated. Please use the corresponding package from the [ilib-mono-webos](https://github.com/iLib-js/ilib-mono-webos) instead.\n\n# ilib-loctool-webos-cpp\nilib-webos-loctool-cpp is a plugin for the loctool allows it to read and localize Cpp files. This plugin is optimized for the webOS platform.\n\n### Cpp FileType\nThis plugin expects to be used [libwebosi18n](https://github.com/webosose/libwebosi18n) library to internationalize your Cpp code.  \nIt extracts string usages used in the examples below by considering them as strings that need to be translated.\n```cpp\ngetLocString(\"Yes\");\ngetLocStringWithKey(\"PictureMode.Standard\", \"Standard\");\n```\n\n#### Sample\nThe simple sample is provided in the [ilib-loctool-samples](https://github.com/iLib-js/ilib-loctool-samples) repository.\nPlease check the [webos-cpp](https://github.com/iLib-js/ilib-loctool-samples/tree/main/webos-cpp) sample to see how the Cpp file type is localized.\n\n## License\n\nCopyright (c) 2019-2025, JEDLSoft\n\nThis plugin is license under Apache2. See the [LICENSE](./LICENSE)\nfile for more details.\n\n## Release Notes\n### v1.7.4\n* Updated dependencies. (loctool: 2.24.0)\n* Converted all the unit tests from `nodeunit` to `jest`.\n\n### v1.7.3\n* Removed `npm-shrinkwrap.json`. It takes a bigger memory size than I expected on webOS. so I decided not to maintain the file here.\n\n### v1.7.2\n* Added `loctool` package to `peerDependencies` in `package.json`.\n\n### v1.7.1\n* Updated dependencies. (loctool: 2.23.1)\n* Updated to be included `npm-shrinkwrap.json` in the published files.\n\n### v1.7.0\n* Updated dependencies. (loctool: 2.22.0)\n* Updated to support more file extsnsions.\n* Added ability to disable pseudo-localization in plugin when a project's pseudo-localization is enabled.\n~~~~\n   \"settings\": {\n        \"cpp\": {\n            \"disablePseudo\": true\n        }\n    }\n~~~~\n\n### v1.6.0\n* Updated dependencies. (loctool: 2.21.0)\n* Fixed an issue where didn't handle single quotes properly.\n* Supported pseudo localization.\n* Updated not to load common data repeatedly if it's loaded from another plugin in a project.\n\n### v1.5.2\n* Updated dependencies.\n\n### v1.5.1\n* Updated dependencies.\n\n### v1.5.0\n* Updated dependencies. (loctool: 2.20.2)\n* Fixed an issue where common's locale inheritance data values were not checked.\n* Updated to check common data's as well when getting base translation.\n\n### v1.4.0\n* Updated to custom locale inheritance feature work properly in generate mode.\n* Added guard code to prevent errors when the common data path is incorrect.\n* Updated to generate resources by comparing base translation data even in generate mode.\n* Fixed an issue where localeinherit related data was not created properly according to the order of locales.\n* Fixed an issue where data is duplicated when it is the same as base translation in generate mode.\n\n### v1.3.0\n* Updated dependencies. (loctool: 2.20.0)\n* Added ability to define custom locale inheritance.\n  * e.g. en-AU inherits translations from en-GB\n    ~~~~\n       \"settings\": {\n            \"localeInherit\": {\n                \"en-AU\": \"en-GB\"\n            }\n        }\n    ~~~~\n* Added ability to use common locale data.\n  * App's xliff data has a higher priority, if there's no matched string there, then loctool checks data in the commonXliff directory.\n    ~~~~\n       \"settings\": {\n            \"webos\": {\n                \"commonXliff\": \"./common\"\n            }\n        }\n    ~~~~\n\n### v1.2.0\n* Updated dependencies. (loctool: 2.18.0)\n* Updated to support loctool's generate mode.\n* Added ability to override language default locale.\n    ~~~~\n       \"settings\": {\n            \"localeMap\": {\n                \"es-CO\": \"es\"\n            }\n        }\n    ~~~~\n\n### v1.1.7\n* Updated dependencies. (loctool: 2.17.0)\n* Fixed an issue where strings are not extracted due to incorrect deletion of commented lines.\n* Updated to check language default locale translation not to generate duplicate resources.\n\n### v1.1.6\n* Updated dependencies.(loctool: 2.16.3)\n* Used the logger provided by the loctool instead of using log4js directly.\n* Added node 16 version testing for circleCI (minimum version of node is v10.0.0)\n\n### v1.1.5\n* Updated dependent module version to have the latest one. (loctool: 2.16.2)\n\n### v1.1.4\n* Updated dependent module version to have the latest one. (loctool: 2.14.1)\n\n### v1.1.3\n* Updated dependent module version to have the latest one. (loctool: 2.13.0)\n\n### v1.1.2\n* Updated dependent module version to have the latest one. (loctool: 2.12.0)\n\n### v1.1.1\n* Updated dependent module version to have the latest one. (loctool: 2.10.3)\n\n### v1.1.0\n* Removed commented lines before parsing so that strings in the comments will not be extracted.\n* Updated dependent module version to have the latest one.\n\n### v1.0.1\n* Updated code to print log with log4js.\n\n### v1.0.0\n* Implemented to parse properly regarding resource bundle usage of Cpp files.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filib-js%2Filib-loctool-webos-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filib-js%2Filib-loctool-webos-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filib-js%2Filib-loctool-webos-cpp/lists"}