feat: add japanese translations (#552)

This commit is contained in:
tkymmm
2025-02-21 19:09:36 +09:00
committed by GitHub
parent 73dd171987
commit b0c5255bd7
2 changed files with 463 additions and 3 deletions

View File

@@ -5,9 +5,10 @@ import de from "./translations/de.json";
import en from "./translations/en.json";
import es from "./translations/es.json";
import fr from "./translations/fr.json";
import it from "./translations/it.json";
import ja from "./translations/ja.json";
import nl from "./translations/nl.json";
import sv from "./translations/sv.json";
import it from "./translations/it.json";
import zhTW from './translations/zh-TW.json';
import { getLocales } from "expo-localization";
@@ -16,9 +17,10 @@ export const APP_LANGUAGES = [
{ label: "English", value: "en" },
{ label: "Español", value: "es" },
{ label: "Français", value: "fr" },
{ label: "Italiano", value: "it" },
{ label: "日本語", value: "ja" },
{ label: "Nederlands", value: "nl" },
{ label: "Svenska", value: "sv" },
{ label: "Italiano", value: "it" },
{ label: "繁體中文", value: "zh-TW" },
];
@@ -29,9 +31,10 @@ i18n.use(initReactI18next).init({
en: { translation: en },
es: { translation: es },
fr: { translation: fr },
it: { translation: it },
ja: { translation: ja },
nl: { translation: nl },
sv: { translation: sv },
it: { translation: it },
"zh-TW": { translation: zhTW },
},