mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-31 08:04:54 +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',
|
||||
label: 'Türkçe'
|
||||
},
|
||||
{
|
||||
value: 'zh-CN',
|
||||
label: '中国人'
|
||||
}
|
||||
]}
|
||||
/>
|
||||
|
|
|
@ -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';
|
Loading…
Add table
Add a link
Reference in a new issue