{"id":36864611,"url":"https://github.com/erevos-13/loco-translate-cli","last_synced_at":"2026-01-20T17:27:50.018Z","repository":{"id":249872463,"uuid":"800977094","full_name":"erevos-13/loco-translate-cli","owner":"erevos-13","description":"If you want to manage the translation in the project with the https://localise.biz","archived":false,"fork":false,"pushed_at":"2025-07-25T11:48:39.000Z","size":3165,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-14T22:07:10.946Z","etag":null,"topics":["localization","loco"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/loco-translate-cli","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erevos-13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-05-15T11:10:38.000Z","updated_at":"2025-07-25T11:48:42.000Z","dependencies_parsed_at":"2024-12-07T13:30:40.520Z","dependency_job_id":null,"html_url":"https://github.com/erevos-13/loco-translate-cli","commit_stats":null,"previous_names":["erevos-13/loco-translate-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/erevos-13/loco-translate-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erevos-13%2Floco-translate-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erevos-13%2Floco-translate-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erevos-13%2Floco-translate-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erevos-13%2Floco-translate-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erevos-13","download_url":"https://codeload.github.com/erevos-13/loco-translate-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erevos-13%2Floco-translate-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28340411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["localization","loco"],"created_at":"2026-01-12T14:52:45.368Z","updated_at":"2026-01-12T14:52:45.457Z","avatar_url":"https://github.com/erevos-13.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# loco-translate-cli\n\nIs just a cli for translate from loco and add the files you want in the project\n\n---\n\n## Description\n\nThis is simple project of CLI that you can pass your json translate files and it will download the files from loco and add it to your project.\n\n## Installation\n\nTo install the dependencies of this project, navigate to the project directory and run the following command:\n\n```bash\nnpm i loco-translate-cli\n```\n\n## Usage\n\nThe cli expect params:\n\n- `Key of the loco project`\n- `path of the json file that you want to upload and get the update one`: `./\u003cpath\u003e`\n- `language of the json file` : this is corelated with the loco project locale ('en', 'el'...)\n- `path where you want to save the file`: `./\u003cpath\u003e`\n- `name convection of the file (only the name)`: `gr_el` this is optional if you not add we will add the name of the locale\n\n---\n\n### Run the cli\n\nPlease use the locoCli --help to display what params you need to pass\n\n`locoCli  --token \u003ctoken\u003e --translate \u003cfile to get the translation\u003e --locale \u003clocale\u003e --extract \u003cfile where you are extracting\u003e --filename \u003cconvert the name if you want\u003e`\n\n---\n\n## Command Options\n\n- `--help`: Show help. _(Boolean)_\n- `--version`: Show version number. _(Boolean)_\n- `--token`: Your API token. _(Required)_\n- `--translate`: Path where your translation JSON file is located. _(Required)_\n- `--locale`: Provide the locale you want to get. _(Optional)_\n- `--extract`: Path where you want to extract the file. _(Required)_\n- `--filename`: Provide the name for the extraction file. _(Optional)_\n- `--sort`: Sort the locales by name. _(Optional)_\n- `--post`: Post the translation to loco. _(Optional)_\n- `--get`: Get the translation from loco. _(Optional)_\n- `--untagAll`: Remove existing tags from any assets matched in the imported file.\n  - **Example**: `--untagAll \"tag1\" \"tag2\" \"tag3\"`\n  - _(Optional)_\n- `--filter`: Filter tags to include or exclude in the extraction file.\n  - **Include format**: `\"tag1\",\"tag2\",\"tag3\"`\n  - **Exclude format**: `\"!tag1\",\"!tag2\",\"!tag3\"`\n  - **Example**: `--filter \"tag1\" \"tag2\" \"tag3\"` or `--filter \"!tag1\" \"!tag2\" \"!tag3\"` or `--filter \"tag1\" \"!tag2\" \"tag3\"`\n  - _(Optional)_\n- `--fallback`: Specify a fallback locale to use when a translation is missing. (Optional)\n  - _(Optional)_\n\n---\n\nYou can run the cli just:\n`locoCli`\n\nAnd there will be display of the params that you need to pass\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferevos-13%2Floco-translate-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferevos-13%2Floco-translate-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferevos-13%2Floco-translate-cli/lists"}