File overview
i18n.jsonc controls locales, file mapping, model profiles, and rule selection.
Locales
locales.source: source locale.locales.targets: list of target locales.- optional
locales.fallbacks: fallback order per locale.
Buckets
buckets map source files to target output templates.
Each file mapping uses:
from: source path templateto: target path template
{{source}}, {{target}}, and {{localeDir}} in templates. {{localeDir}} resolves to an empty segment when target equals source, and to the target locale otherwise.
CSV file mapping patterns
Use bucket file mappings to model CSV workflows. Per-locale files:run can update consistently.
Groups
groups.<name> defines what to process together.
targets: subset oflocales.targetsbuckets: list of bucket names
LLM profiles
llm.profiles.<name> fields:
provider:openai,azure_openai,anthropic,gemini,bedrock,lmstudio,groq, orollamamodel: provider model idprompt: translation prompt template
{{source}}{{target}}{{input}}
Rules
llm.rules choose profile per group.
priority: higher winsgroup: group nameprofile: profile name
Starter config
i18n.jsonc for your project.
Validation tips
- Keep group targets inside
locales.targets. - Keep group buckets aligned with
bucketskeys. - Keep profile names consistent between
profilesandrules.