Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
i18n Contribution Guide
locales/en.tsis the complete baseline message file.- Non-English locale files may be partial. Missing keys must fall back to English at runtime.
- Use BCP 47 locale tags for new languages, for example
zh-CN,pt-BR,ja-JP, andko-KR. - A new locale needs its
locales/<code>.tsfile (export named after the code without the hyphen), aLOCALESentry and loader inmessages.ts, an overlay entry incheck-parity.ts, plural templates infeatures/profile/utils/stats-format.ts, and, for a right-to-left script,RTL_LOCALESinfeatures/chat/artifacts/html-frame.tsx. Regional variants (Traditional Chinese, Latin American Spanish) are routed inlocale-store.ts. - Do not change fallback logic to hide missing translations.
- Do not add automatic DOM translation, MutationObserver text replacement, or runtime guess-based translation.
- Preserve interpolation variables exactly, for example
{count},{model}, and{provider}. - Keep product and technical names unchanged unless there is an established localized name, for example
Unsloth,LoRA,GGUF, andHugging Face. - Keep translation changes small and reviewable. Prefer separate commits for runtime changes, UI migration, and locale text.
- When adding user-facing Unsloth UI text, add the English message key first and add non-English overrides only when the translation is clear.
- Run
npm run i18n:checkbefore committing to ensure there are no shape mismatches or placeholder discrepancies in the non-English overlays. - CI runs
npm run i18n:check:strict, which also fails on missing keys. The runtime fallback stays as a safety net, but a key that only exists inen.tsrenders English inside a translated UI, so add every new key to all overlays in the same change.