voice_audio_multi/webui/native/lang/README.md
Fabio c36510c21e
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
Initial import: audio.cpp with Orange Pi documentation
2026-11-04 19:05:22 +01:00

741 B

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:

{
  "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.