{"id":15764255,"url":"https://github.com/devjiwonchoi/po2mo","last_synced_at":"2025-05-12T14:08:28.240Z","repository":{"id":179357581,"uuid":"663346411","full_name":"devjiwonchoi/po2mo","owner":"devjiwonchoi","description":"po to mo, it's simple.","archived":false,"fork":false,"pushed_at":"2024-07-01T02:40:44.000Z","size":103476,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-11T12:05:40.272Z","etag":null,"topics":["cli","gettext","gnu","i18n","internationalization","l10n","localization","mo","po","translate"],"latest_commit_sha":null,"homepage":"https://npmjs.com/po2mo","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devjiwonchoi.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},"funding":{"github":["devjiwonchoi"]}},"created_at":"2023-07-07T05:14:48.000Z","updated_at":"2024-07-01T02:40:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"83caf705-8aac-43f8-a370-1975af108823","html_url":"https://github.com/devjiwonchoi/po2mo","commit_stats":{"total_commits":136,"total_committers":3,"mean_commits":"45.333333333333336","dds":"0.44852941176470584","last_synced_commit":"505914178568e4c3fa1b4fc050c5175aeeaa87ec"},"previous_names":["devjiwonchoi/po2mo"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjiwonchoi%2Fpo2mo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjiwonchoi%2Fpo2mo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjiwonchoi%2Fpo2mo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjiwonchoi%2Fpo2mo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devjiwonchoi","download_url":"https://codeload.github.com/devjiwonchoi/po2mo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231303094,"owners_count":18355447,"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":["cli","gettext","gnu","i18n","internationalization","l10n","localization","mo","po","translate"],"created_at":"2024-10-04T12:02:12.264Z","updated_at":"2024-12-26T02:54:22.118Z","avatar_url":"https://github.com/devjiwonchoi.png","language":"TypeScript","funding_links":["https://github.com/sponsors/devjiwonchoi"],"categories":[],"sub_categories":[],"readme":"# po2mo\n\n\u003cp align=\"left\"\u003e\n  \u003ca href=\"https://npm.im/po2mo\"\u003e\n    \u003cimg src=\"https://badgen.net/npm/v/po2mo\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/devjiwonchoi/po2mo/actions?workflow=CI\"\u003e\n    \u003cimg src=\"https://github.com/devjiwonchoi/po2mo/actions/workflows/node_ci.yml/badge.svg\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n[:kr: Korean Docs](./docs/korean/README.md)\n\n\u003e Using v1? Try stable v2. See [Migration Guide](./docs/migration-guide.md) for details.\n\n## Installation\n\nSupports installation via standalone scripts and Node.js package managers.\n\nSee [Installation](./docs/installation.md) for details.\n\n## Default Behavior\n\nBy default, `po2mo` **will convert any created, modified, or staged .po files found in the local Git repository**.\n\nYou can change the current working directory with the [`--cwd`](#current-working-directory---cwd) option.\n\n```sh\nUsage: po2mo [options]\n\nOptions:\n  \u003cpath\u003e                 specify input path\n  -v, --version          output the version number\n  -h, --help             output usage information\n  -o, --output \u003cpath\u003e    specify output path\n  -r, --recursive        convert po files recursively\n  --config \u003cpath\u003e        specify config file path\n  --cwd \u003ccwd\u003e            specify current working directory\n```\n\n## Providing Input (`\u003cpath\u003e`)\n\nSee [Providing Input](./docs/providing-input.md) for details.\n\n## Providing Output (`--output`)\n\nSee [Providing Output](./docs/providing-output.md) for details.\n\n## Current Working Directory (`--cwd`)\n\nSometimes you need to specify the current working directory. Send it!\n\n## Configuration (`--config`)\n\nWe recommend you to be config-free, but most of the time there are edge cases where you need a work-around.\n\n`po2mo` supports configuration for multiple tasks by providing the path to config file named `po2mo.json` with the option `--config`.\n\nEach objects inside the `tasks` array are equal to a single conversion task, which takes the three values: `input`, `output`, `recursive`.\n\n### `po2mo.json`\n\n```json\n{\n  \"tasks\": [\n    {\n      \"input\": \"./locale/a.po\"\n    },\n    {\n      \"input\": \"./locale\",\n      \"output\": \"./output\"\n    },\n    {\n      \"input\": \"./locale\",\n      \"output\": \"./output\",\n      \"recursive\": true\n    }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevjiwonchoi%2Fpo2mo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevjiwonchoi%2Fpo2mo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevjiwonchoi%2Fpo2mo/lists"}