diff --git a/src/locales/zh-hans/command-ui-handler.ts b/src/locales/zh-hans/command-ui-handler.ts index 889c1378b08..4b117ea1b4a 100644 --- a/src/locales/zh-hans/command-ui-handler.ts +++ b/src/locales/zh-hans/command-ui-handler.ts @@ -1,9 +1,9 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n"; export const commandUiHandler: SimpleTranslationEntries = { - "fight": "Fight", - "ball": "Ball", - "pokemon": "Pokémon", - "run": "Run", - "actionMessage": "What will\n{{pokemonName}} do?", + "fight": "战斗", + "ball": "精靈球", + "pokemon": "宝可梦", + "run": "逃走", + "actionMessage": "{{pokemonName}}要怎么做?", } as const; \ No newline at end of file diff --git a/src/plugins/i18n.ts b/src/plugins/i18n.ts index 156b6c87586..024e51b65cd 100644 --- a/src/plugins/i18n.ts +++ b/src/plugins/i18n.ts @@ -59,7 +59,7 @@ export function initI18n(): void { i18next.use(LanguageDetector).init({ lng: lang, fallbackLng: 'en', - supportedLngs: ['en', 'es', 'fr', 'it', 'de', 'zh-hans'], + supportedLngs: ['en', 'es', 'fr', 'it', 'de', 'zh_hans'], debug: true, interpolation: { escapeValue: false, @@ -80,7 +80,7 @@ export function initI18n(): void { de: { ...deConfig }, - zh-hans: { + zh_hans: { ...zhHansConfig } }, diff --git a/src/system/settings.ts b/src/system/settings.ts index 3805a35bb95..c680acdf016 100644 --- a/src/system/settings.ts +++ b/src/system/settings.ts @@ -198,6 +198,10 @@ export function setSetting(scene: BattleScene, setting: Setting, value: integer) label: 'German', handler: () => changeLocaleHandler('de') }, + { + label: 'Chinese (Simplified)', + handler: () => changeLocaleHandler('zh_hans') + }, { label: 'Cancel', handler: () => cancelHandler()