{"id":30751824,"url":"https://github.com/rgglez/gettext-po2json","last_synced_at":"2026-06-23T17:32:16.111Z","repository":{"id":312825495,"uuid":"1048789497","full_name":"rgglez/gettext-po2json","owner":"rgglez","description":"Converts a PO file into a gettext-parser JSON format","archived":false,"fork":false,"pushed_at":"2026-02-03T04:53:31.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-03T18:27:21.955Z","etag":null,"topics":["converter","gettext","gettext-po","json","perl","perl5","svelte-i18n-gettext"],"latest_commit_sha":null,"homepage":"","language":"Perl","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/rgglez.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-02T03:08:30.000Z","updated_at":"2026-02-03T04:53:35.000Z","dependencies_parsed_at":"2025-09-02T09:21:28.384Z","dependency_job_id":null,"html_url":"https://github.com/rgglez/gettext-po2json","commit_stats":null,"previous_names":["rgglez/gettext-po2json"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rgglez/gettext-po2json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgglez%2Fgettext-po2json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgglez%2Fgettext-po2json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgglez%2Fgettext-po2json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgglez%2Fgettext-po2json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rgglez","download_url":"https://codeload.github.com/rgglez/gettext-po2json/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgglez%2Fgettext-po2json/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34700906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["converter","gettext","gettext-po","json","perl","perl5","svelte-i18n-gettext"],"created_at":"2025-09-04T08:01:25.779Z","updated_at":"2026-06-23T17:32:16.099Z","avatar_url":"https://github.com/rgglez.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gettext-po2json\n\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)\n![GitHub all releases](https://img.shields.io/github/downloads/rgglez/gettext-po2json/total)\n![GitHub issues](https://img.shields.io/github/issues/rgglez/gettext-po2json)\n![GitHub commit activity](https://img.shields.io/github/commit-activity/y/rgglez/gettext-po2json)\n![GitHub stars](https://img.shields.io/github/stars/rgglez/gettext-po2json?style=social)\n![GitHub forks](https://img.shields.io/github/forks/rgglez/gettext-po2json?style=social)\n\nThis Perl script converts a [PO](https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html) file into a JSON JED-like file as produced by [gettext-parser](https://github.com/smhg/gettext-parser), suitable for [svelte-i18n-gettext](https://www.github.com/rgglez/svelte-i18n-gettext).\n\n## Usage\n\n```bash\nperl po2json.pl --po messages.po --json messages.json --context app\n```\n\n- `--po` the source PO file.\n- `--json` the destination JSON file.\n- `--context` the default context if there's no one present. Optional.\n\n## Dependencies\n\n```bash\ncpan install JSON::PP Locale::PO Getopt::Long File::Temp\n```\n\n- `JSON::PP`\n- `Locale::PO`\n- `Getopt::Long`\n- `File::Temp`\n\n## License\n\nCopyright 2026 Rodolfo González González.\n\nLicensed under [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) license. Read the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgglez%2Fgettext-po2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgglez%2Fgettext-po2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgglez%2Fgettext-po2json/lists"}