fabkho/the-i18n-kit — Auto-Translate Missing Keys

Find missing translation keys and translate them via LLM. Provider-agnostic: supports OpenAI, Anthropic, and Google.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
providerLLM provider: openai, anthropic, or googleyes
modelModel name (e.g. gpt-4o, claude-3-5-sonnet-20241022, gemini-2.0-flash)yes
api_keyAPI key for the chosen provideryes
layerLayer name to translate (e.g. common, dashboard)yes
localesComma-separated target locales (default: all except source)no
source_localeReference/source locale (default: project default from .i18n-mcp.json)no
keysComma-separated keys to translate (default: all missing)no
batch_sizeKeys per LLM call (default: 50)no50
dry_runPreview translations without writing filesnofalse
working_directoryProject root directory (default: github.workspace)no${{ github.workspace }}
create_prCreate a PR with the translated filesnotrue
pr_branchBranch name for the PR (default: i18n/translate-missing-<timestamp>)no
commit_messageCommit message (default: "chore(i18n): translate missing keys via <provider>")no
pr_titlePR title (default: "chore(i18n): translate missing keys")no
github_tokenGitHub token for creating PRs. Defaults to GITHUB_TOKEN.no${{ github.token }}
base_branchBase branch for the PR (default: the branch that triggered the workflow)no
namedescription
translated_countNumber of keys translated
pr_urlURL of the created PR (only when create_pr is true)