mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-28 13:48:13 +02:00
add chinese
This commit is contained in:
parent
b75d0a921e
commit
e885676ad8
2 changed files with 5 additions and 1 deletions
|
@ -35,6 +35,10 @@ export default function LocaleSwitcher() {
|
||||||
{
|
{
|
||||||
value: 'tr-TR',
|
value: 'tr-TR',
|
||||||
label: 'Türkçe'
|
label: 'Türkçe'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 'zh-CN',
|
||||||
|
label: '中国人'
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
export type Locale = (typeof locales)[number];
|
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';
|
export const defaultLocale: Locale = 'en-US';
|
Loading…
Add table
Add a link
Reference in a new issue