mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-02 19:27:48 +08:00
20 lines
289 B
TypeScript
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',
|
||
|
}
|