-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlang.ts
28 lines (26 loc) · 864 Bytes
/
lang.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
export default {
defaultLocale: { lang: 'en-US', currency: 'USD' },
supportedLocales: [
{ lang: 'zh-HK', currency: 'HKD' },
{ lang: 'ja-JP', currency: 'JPY' },
{ lang: 'en-US', currency: 'USD' },
],
} as const;
export const displayNamesLang = {
'zh-HK': 'Chinese (traditional)',
'ja-JP': 'Japanese',
'en-US': 'English',
} as const;
export const listSupportedLang = [
{ value: 'en-US', label: 'English' },
{ value: 'zh-HK', label: 'Chinese (traditional)' },
{ value: 'zh-CN', label: 'Chinese (simplified)' },
{ value: 'ja-JP', label: 'Japanese' },
{ value: 'ko-KR', label: 'Korean' },
{ value: 'fr-FR', label: 'French' },
{ value: 'es-ES', label: 'Spanish' },
{ value: 'de-DE', label: 'German' },
{ value: 'it-IT', label: 'Italian' },
{ value: 'pt-PT', label: 'Portuguese' },
{ value: 'ru-RU', label: 'Russian' },
];