Some checks failed
Linux Build / Linux cpu (push) Has been cancelled
Linux Build / Linux cpu-clang (push) Has been cancelled
Linux Build / Linux vulkan (push) Has been cancelled
mac-build / macOS CPU (push) Has been cancelled
Nix Build / Nix (cpu) (push) Has been cancelled
Nix Build / Nix (vulkan) (push) Has been cancelled
windows-build / Windows CPU (push) Has been cancelled
24 lines
741 B
Markdown
24 lines
741 B
Markdown
# Native WebUI languages
|
|
|
|
English is built into `src/lib/i18n.ts` and is always the fallback language.
|
|
|
|
Vietnamese is available as **Tiếng Việt** in the interface language selector.
|
|
Its translations are maintained in `lang_vi.json`.
|
|
|
|
Add a UTF-8 JSON file named `lang_<code>.json` to this directory to add another
|
|
language to the selector. The file is discovered automatically by Vite:
|
|
|
|
```json
|
|
{
|
|
"code": "de",
|
|
"name": "Deutsch",
|
|
"translations": {
|
|
"nav.models": "Modelle",
|
|
"run.run": "Starten"
|
|
}
|
|
}
|
|
```
|
|
|
|
Translation keys that are omitted fall back to English. Rebuild the native WebUI
|
|
and `audiocpp_server` after adding or changing a language file; the language
|
|
catalog is bundled into the embedded single-file interface.
|