Before Translating

This commit is contained in:
Bare7a
2025-11-24 18:04:50 +02:00
parent 0528d65317
commit a1fb54c394
11 changed files with 764 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ import langRu from "./lang/ru.json";
import langSk from "./lang/sk.json";
import langVi from "./lang/vi.json";
import langZh from "./lang/zh.json";
import langBg from "./lang/bg.json";
// first item of each array should be the language code,
// not the country code
@@ -27,6 +28,7 @@ const localeOptions = [
["sk", "sk-SK", langSk],
["vi", "vi-VN", langVi],
["zh", "zh-CN", langZh],
["bg", "bg-BG", langBg],
];
const loadMessages = (locale?: string): typeof langList & typeof langEn => {