mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-04-29 08:12:41 +08:00
feat: 支持繁体中文和日语国际化
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
export function isChineseLocale(locale?: string): boolean {
|
||||
return locale === 'zh-CN'
|
||||
return locale?.startsWith('zh') ?? false
|
||||
}
|
||||
|
||||
export const i18nTexts = {
|
||||
|
||||
Reference in New Issue
Block a user