mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-11 19:02:16 +02:00
Update i18n.ts
This commit is contained in:
parent
f94e71a9d7
commit
80339eb341
@ -6,6 +6,7 @@ import { enConfig } from '#app/locales/en/config.js';
|
||||
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 { chsConfig } from '#app/locales/chs/config.js';
|
||||
|
||||
export interface SimpleTranslationEntries {
|
||||
[key: string]: string
|
||||
@ -58,7 +59,7 @@ export function initI18n(): void {
|
||||
i18next.use(LanguageDetector).init({
|
||||
lng: lang,
|
||||
fallbackLng: 'en',
|
||||
supportedLngs: ['en', 'es', 'fr', 'it', 'de'],
|
||||
supportedLngs: ['en', 'es', 'fr', 'it', 'de', 'chs'],
|
||||
debug: true,
|
||||
interpolation: {
|
||||
escapeValue: false,
|
||||
@ -67,6 +68,9 @@ export function initI18n(): void {
|
||||
en: {
|
||||
...enConfig
|
||||
},
|
||||
chs: {
|
||||
...chsConfig
|
||||
},
|
||||
es: {
|
||||
...esConfig
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user