i18n-ai-translate
Auto-translate i18n locale files with AI. Translate i18next JSON, Gettext PO, Java .properties, iOS .strings, Rails YAML, and TS/JS catalogues using ChatGPT, Claude, Gemini, or local Ollama models. CLI, Node library, and GitHub Action.
File Explorer
Download Latest Version (.zip)- build.yml
- release.yml
- test.yml
- dependabot.yml
- README.md
- anthropic.ts
- chat_factory.ts
- chat_interface.ts
- chatgpt.ts
- gemini.ts
- ollama.ts
- engine.ts
- prompt_mode.ts
- role.ts
- format_adapter.ts
- icu_adapter.ts
- json_adapter.ts
- module_adapter.ts
- po_adapter.ts
- po_plural_rules.ts
- properties_adapter.ts
- registry.ts
- strings_adapter.ts
- yaml_adapter.ts
- generate.ts
- prompts.ts
- verify.ts
- generate.ts
- prompts.ts
- types.ts
- chats.ts
- check_options.ts
- dry_run.ts
- generate_translation_options_csv.ts
- generate_translation_options_json.ts
- glossary.ts
- options.ts
- override_prompt.ts
- translate_diff_options.ts
- translate_directory_diff_options.ts
- translate_directory_options.ts
- translate_file_diff_options.ts
- translate_file_options.ts
- translate_options.ts
- translation_context.ts
- cache.spec.ts
- chat_pool.spec.ts
- check.spec.ts
- cli_helpers.spec.ts
- concurrency.spec.ts
- formats.spec.ts
- generate_csv.spec.ts
- glossary.spec.ts
- jest.setup.ts
- prompts.spec.ts
- retry.spec.ts
- semaphore.spec.ts
- shard.spec.ts
- translate.spec.ts
- utils.spec.ts
- cache.ts
- chat_pool.ts
- check.ts
- cli.ts
- cli_check.ts
- cli_diff.ts
- cli_helpers.ts
- cli_translate.ts
- constants.ts
- glossary.ts
- index.ts
- rate_limiter.ts
- retry.ts
- semaphore.ts
- shard_runner.ts
- sharding.ts
- translate.ts
- translate_directory.ts
- translate_file.ts
- types.ts
- utils.ts
- en.json
- .eslintignore
- .eslintrc.json
- .gitignore
- .prettierignore
- .prettierrc.json
- action.yml
- ADVANCED_GUIDE.md
- jest.config.js
- LICENSE
- package.json
- README.md
- tsconfig.json
- yarn.lock
# Installation Guide
1. Get the code
git clone https://github.com/taahamahdi/i18n-ai-translate
Downloads the entire project code from GitHub to your computer.
cd i18n-ai-translate
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Node.js Node.js must be installed to use npm.
npm i -g i18n-ai-translate # or yarn add i18n-ai-translate --dev
Installs the package published on the npm registry globally โ no need to clone the source.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Node.js
EasyPrerequisites
npm i -g i18n-ai-translate # or yarn add i18n-ai-translate --dev
Installs the package published on the npm registry globally โ no need to clone the source.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
