dify/web/i18n/index.ts

9 lines
195 B
TypeScript
Raw Normal View History

2024-01-23 21:14:53 +08:00
import { LanguagesSupported } from '@/utils/language'
2023-05-15 08:51:32 +08:00
export const i18n = {
defaultLocale: 'en',
2024-01-23 21:14:53 +08:00
locales: LanguagesSupported,
2023-05-15 08:51:32 +08:00
} as const
export type Locale = typeof i18n['locales'][number]