dify/web/utils/language.ts
2023-05-15 08:51:32 +08:00

20 lines
289 B
TypeScript

type Item = {
value: number | string
name: string
}
export const languages: Item[] = [
{
value: 'en-US',
name: 'English(United States)',
},
{
value: 'zh-Hans',
name: '简体中文',
},
]
export const languageMaps = {
'en': 'en-US',
'zh-Hans': 'zh-Hans',
}