Added Japanese
parent
94683a4dbf
commit
21be1547c6
|
@ -7,6 +7,7 @@ import { esConfig } from '#app/locales/es/config.js';
|
|||
import { frConfig } from '#app/locales/fr/config.js';
|
||||
import { itConfig } from '#app/locales/it/config.js';
|
||||
import { zhCnConfig } from '#app/locales/zh_CN/config.js';
|
||||
import { jpConfig } from '#app/locales/jp/config.js';
|
||||
|
||||
export interface SimpleTranslationEntries {
|
||||
[key: string]: string
|
||||
|
@ -59,7 +60,7 @@ export function initI18n(): void {
|
|||
i18next.use(LanguageDetector).init({
|
||||
lng: lang,
|
||||
fallbackLng: 'en',
|
||||
supportedLngs: ['en', 'es', 'fr', 'it', 'de', 'zh_CN'],
|
||||
supportedLngs: ['en', 'es', 'fr', 'it', 'de', 'zh_CN', 'jp'],
|
||||
debug: true,
|
||||
interpolation: {
|
||||
escapeValue: false,
|
||||
|
@ -82,6 +83,9 @@ export function initI18n(): void {
|
|||
},
|
||||
zh_CN: {
|
||||
...zhCnConfig
|
||||
},
|
||||
jp: {
|
||||
...jpConfig
|
||||
}
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue