{"id":19777496,"url":"https://github.com/ilib-js/ilib-loctool-webos-c","last_synced_at":"2025-04-30T19:32:32.159Z","repository":{"id":38848482,"uuid":"228309861","full_name":"iLib-js/ilib-loctool-webos-c","owner":"iLib-js","description":"ilib-webos-loctool-c is a plugin for the loctool allows it to read and localize c files. This plugins is optimized for webOS platform.","archived":true,"fork":false,"pushed_at":"2025-02-19T00:50:52.000Z","size":630,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2025-03-20T12:21:47.517Z","etag":null,"topics":["localization"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/ilib-loctool-webos-c","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":"2019-12-16T05:31:10.000Z","updated_at":"2025-02-19T01:47:28.000Z","dependencies_parsed_at":"2024-06-12T15:44:14.439Z","dependency_job_id":"0a72aa0f-86f6-4faa-9815-fccc496fcd04","html_url":"https://github.com/iLib-js/ilib-loctool-webos-c","commit_stats":{"total_commits":105,"total_committers":6,"mean_commits":17.5,"dds":0.06666666666666665,"last_synced_commit":"572360b0557982659fc84c4675f9ca4b5c81b175"},"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-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iLib-js%2Filib-loctool-webos-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iLib-js%2Filib-loctool-webos-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iLib-js%2Filib-loctool-webos-c/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-c/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251769508,"owners_count":21640917,"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:16.687Z","updated_at":"2025-04-30T19:32:32.154Z","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-c\nilib-webos-loctool-c is a plugin for the loctool allows it to read and localize C files. This plugin is optimized for the webOS platform.\n### C FileType\nThis plugin expects to be used [libwebosi18n](https://github.com/webosose/libwebosi18n) library to internationalize your C code.  \nIt extracts string usages used in the examples below by considering them as strings that need to be translated.\n```c\nresBundle_getLocString(_gResBundle, \"Yes\");\nresBundle_getLocStringWithKey(resBundle, \"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-c](https://github.com/iLib-js/ilib-loctool-samples/tree/main/webos-c) sample to see how the C 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* Added ability to disable pseudo-localization in plugin when a project's pseudo-localization is enabled.\n    ~~~~\n       \"settings\": {\n            \"c\": {\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 C files.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filib-js%2Filib-loctool-webos-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filib-js%2Filib-loctool-webos-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filib-js%2Filib-loctool-webos-c/lists"}