mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
feat(lang): add Klingon and Esperanto localization support (#672)
This commit is contained in:
7
i18n.ts
7
i18n.ts
@@ -5,6 +5,7 @@ import { getLocales } from "expo-localization";
|
||||
import de from "./translations/de.json";
|
||||
import en from "./translations/en.json";
|
||||
import es from "./translations/es.json";
|
||||
import eo from "./translations/eo.json";
|
||||
import fr from "./translations/fr.json";
|
||||
import it from "./translations/it.json";
|
||||
import ja from "./translations/ja.json";
|
||||
@@ -14,6 +15,7 @@ import ptBR from "./translations/pt-BR.json";
|
||||
import ru from "./translations/ru.json";
|
||||
import sv from "./translations/sv.json";
|
||||
import tr from "./translations/tr.json";
|
||||
import tlh from "./translations/tlh.json";
|
||||
import uk from "./translations/uk.json";
|
||||
import zhCN from "./translations/zh-CN.json";
|
||||
import zhTW from "./translations/zh-TW.json";
|
||||
@@ -22,9 +24,11 @@ export const APP_LANGUAGES = [
|
||||
{ label: "Deutsch", value: "de" },
|
||||
{ label: "English", value: "en" },
|
||||
{ label: "Español", value: "es" },
|
||||
{ label: "Esperanto", value: "eo" },
|
||||
{ label: "Français", value: "fr" },
|
||||
{ label: "Italiano", value: "it" },
|
||||
{ label: "日本語", value: "ja" },
|
||||
{ label: "Klingon", value: "tlh" },
|
||||
{ label: "Türkçe", value: "tr" },
|
||||
{ label: "Nederlands", value: "nl" },
|
||||
{ label: "Polski", value: "pl" },
|
||||
@@ -32,6 +36,7 @@ export const APP_LANGUAGES = [
|
||||
{ label: "Svenska", value: "sv" },
|
||||
{ label: "Русский", value: "ru" },
|
||||
{ label: "Українська", value: "uk" },
|
||||
{ label: "Українська", value: "uk" },
|
||||
{ label: "简体中文", value: "zh-CN" },
|
||||
{ label: "繁體中文", value: "zh-TW" },
|
||||
];
|
||||
@@ -42,6 +47,7 @@ i18n.use(initReactI18next).init({
|
||||
de: { translation: de },
|
||||
en: { translation: en },
|
||||
es: { translation: es },
|
||||
eo: { translation: eo },
|
||||
fr: { translation: fr },
|
||||
it: { translation: it },
|
||||
ja: { translation: ja },
|
||||
@@ -51,6 +57,7 @@ i18n.use(initReactI18next).init({
|
||||
sv: { translation: sv },
|
||||
ru: { translation: ru },
|
||||
tr: { translation: tr },
|
||||
tlh: { translation: tlh },
|
||||
uk: { translation: uk },
|
||||
"zh-CN": { translation: zhCN },
|
||||
"zh-TW": { translation: zhTW },
|
||||
|
||||
Reference in New Issue
Block a user