{"id":19297609,"url":"https://github.com/guuri11/i18n-cli","last_synced_at":"2026-05-14T22:36:11.991Z","repository":{"id":62415787,"uuid":"560112479","full_name":"Guuri11/i18n-cli","owner":"Guuri11","description":"🌍 I18n-cli | A tool for a quick addition into the i18n locale files","archived":false,"fork":false,"pushed_at":"2023-06-12T09:12:09.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-21T17:23:23.917Z","etag":null,"topics":["i18n","i18n-js","i18n-node","i18n-react","i18n-tool","internationalization","intl","node","nodejs","react-i18next","translation"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@guuri11/i18n-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/Guuri11.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":"2022-10-31T19:04:09.000Z","updated_at":"2023-04-11T15:57:14.000Z","dependencies_parsed_at":"2025-01-05T22:10:21.885Z","dependency_job_id":"8ffaf7b2-7944-4651-9e52-d21cde27829b","html_url":"https://github.com/Guuri11/i18n-cli","commit_stats":{"total_commits":24,"total_committers":1,"mean_commits":24.0,"dds":0.0,"last_synced_commit":"7dc830ea0cdff07a81815102b9f89ee5c9818ba6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Guuri11/i18n-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guuri11%2Fi18n-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guuri11%2Fi18n-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guuri11%2Fi18n-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guuri11%2Fi18n-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Guuri11","download_url":"https://codeload.github.com/Guuri11/i18n-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guuri11%2Fi18n-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281366873,"owners_count":26488694,"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","status":"online","status_checked_at":"2025-10-27T02:00:05.855Z","response_time":61,"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":["i18n","i18n-js","i18n-node","i18n-react","i18n-tool","internationalization","intl","node","nodejs","react-i18next","translation"],"created_at":"2024-11-09T23:05:29.807Z","updated_at":"2025-10-28T00:32:46.165Z","avatar_url":"https://github.com/Guuri11.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 🌍 I18n-cli\n\nCLI tool for quick i18n additions\n\n\n# 🏆 Motivation\nWorking with translations can be so boring \u0026 annoying when you are trasnlating a big project with 3 or more languages availables. So I wanted to have a node tool for inserting ASAP the sentences for i18n.\n\n\n# 🧪 Features\n\n- Add new sentences to locales, just put the folder path where the json files are located.\n- Update a the sentences based on a key\n- Delete the sentences based on a key\n- Export the locales to CSV\n\n## Installation\n\nInstall with ```$ npm install --save-dev i18n-cli```\n\nor\n\nInstall with ```$ yarn add --dev @guuri11/i18n-cli ```\n\n## Usage\nRun ```$ node_modules/@guuri11/i18n-cli/bin/cli.js  ```\n\nor\n\nCreate a script in your package.json like this\n```json\n\n\"scripts\": {\n    \"i18n-cli\": \"node_modules/@guuri11/i18n-cli/bin/cli.js\"\n  }\n```\nand just run \n\n```npm run i18n-cli```\n\nor\n\n```yarn run i18n-cli```\n\n#### Preview\n```\nℹ Running i18n editor                                                                                                                      15:12:33\nℹ Please choose an option:                                                                                                                 15:12:33\n1 -\u003e Add Translation Sentence\n2 -\u003e Delete Translation Sentence\n3 -\u003e Generate CSV extract\n4 -\u003e Exit\nOption: 1\nSelected option: 1\nEnter the folder path where the locale files are located: ./locale\nEnter the key of the new translation sentence: hello_world\nready Key: hello_world                                                                                                                     15:12:59\nAdd translation for en locale or type 'update' to modify an existing one: Hello world!\nready Value: Hello world!                                                                                                                  15:13:21\n✔ Translation added to locale                                                                                                              15:13:21\nAdd translation for es locale or type 'update' to modify an existing one: Hola mundo!\nready Value: Hola mundo!                                                                                                                   15:13:25\n✔ Translation added to locale                                                                                                              15:13:25\n✔ Translation added to all locales                                                                                                         15:13:25\nℹ Please choose an option:                                                                                                                 15:13:25\n1 -\u003e Add Translation Sentence\n2 -\u003e Delete Translation Sentence\n3 -\u003e Generate CSV extract\n4 -\u003e Exit\nOption: 3\nSelected option: 3\n✔ CSV generated successfully \n```\n#### Result\n\n##### src/locales/en.json\n```json\n{\n  \"hello_world\": \"Hello World\"\n}\n````\n\n##### src/locales/es.json\n```json\n{\n  \"hello_world\": \"Hola mundo\"\n}\n````\n\n##### src/locales/locales.csv\n```csv\nkey,en,es\nhello_world,Hello world!,Hola mundo!\n````\n\n## 📝 Feedback\n\nIf you have any feedback, please reach out to me at Linkedin 😁 (https://www.linkedin.com/in/sergio-gurillo-corral-2585431b0/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguuri11%2Fi18n-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguuri11%2Fi18n-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguuri11%2Fi18n-cli/lists"}