diff --git a/src/components/LocaleSwitcher.tsx b/src/components/LocaleSwitcher.tsx index 651a70e6..a47c6898 100644 --- a/src/components/LocaleSwitcher.tsx +++ b/src/components/LocaleSwitcher.tsx @@ -35,6 +35,10 @@ export default function LocaleSwitcher() { { value: 'tr-TR', label: 'Türkçe' + }, + { + value: 'zh-CN', + label: '中国人' } ]} /> diff --git a/src/i18n/config.ts b/src/i18n/config.ts index 030d7f71..7580320b 100644 --- a/src/i18n/config.ts +++ b/src/i18n/config.ts @@ -1,4 +1,4 @@ export type Locale = (typeof locales)[number]; -export const locales = ['en-US', 'fr-FR', 'de-DE', 'it-IT', 'pl-PL', 'pt-PT', 'tr-TR'] as const; +export const locales = ['en-US', 'fr-FR', 'de-DE', 'it-IT', 'pl-PL', 'pt-PT', 'tr-TR', 'zh-CN'] as const; export const defaultLocale: Locale = 'en-US'; \ No newline at end of file