shipi18n/Shipi18n Auto Translate

Automatically translate your i18n locale files using Shipi18n API

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
api-keyShipi18n API keyyes
source-filePath to source locale file (e.g., locales/en.json). Use this OR source-dir.no""
source-dirPath to source locale directory (e.g., locales/en). All JSON/YAML files will be translated. Use this OR source-file.no""
target-languagesComma-separated list of target language codes (e.g., es,fr,de)yes
output-dirDirectory to output translated files (default: same as source file directory)no""
source-languageSource language code (default: en)noen
create-prCreate a pull request instead of direct commit (true/false)nofalse
incrementalOnly translate changed keys (compares with previous git commit)notrue
commit-messageCustom commit message (default: "chore: update translations [skip ci]")nochore: update translations [skip ci]
branch-nameBranch name for PR (only used if create-pr is true)noshipi18n-translations
github-tokenGitHub token for creating PRs (defaults to GITHUB_TOKEN)no""
verifyEnable LLM-based translation verification (true/false). Uses Claude Haiku 4.5 to check meaning, placeholders, and quality.nofalse
verify-modeVerification mode: "quick" (10% sample, fast) or "thorough" (100%, comprehensive)noquick
self-correctEnable self-correcting translations (true/false). Automatically retries failed translations with LLM feedback.nofalse
max-retriesMaximum retry attempts for self-correcting mode (default: 2, max: 5)no2
skip-keysComma-separated keys to skip from translation (exact paths, e.g., brandName,company.name)no""
skip-pathsComma-separated glob patterns to skip (e.g., states.*,config.*.secret)no""
namedescription
files-changedNumber of translation files updated
files-listJSON array of files that were translated
languagesList of languages translated
verification-errorsNumber of verification errors found (missing placeholders, missing keys)
verification-warningsNumber of verification warnings found (unusual length ratios)
llm-verification-passWhether LLM verification passed (true/false/skipped)
llm-verification-issuesJSON array of LLM verification issues found
llm-verification-costTotal cost of LLM verification in USD (e.g., "0.000123")
llm-verification-tokensTotal tokens used for LLM verification (input + output)
self-correct-correctedNumber of translations that were auto-corrected
self-correct-needs-reviewNumber of translations flagged for human review
self-correct-costTotal cost of self-correcting in USD
skipped-keys-countNumber of keys skipped from translation