Chinese localization (#2668)
* Chinese localization * fixed languages.ts typo * crosscheck with proofreading of translation * fixed messages.po string styles * a minor adjustment * Update Chinese localization * fixed a typo & modify the translation of handle * based on the latest messages.po translation * removed unused strings * based on the latest messages.po translation
This commit is contained in:
parent
0b37cf4ee7
commit
a5cd1d377f
6 changed files with 4445 additions and 0 deletions
|
@ -13,6 +13,7 @@ import {messages as messagesKo} from '#/locale/locales/ko/messages'
|
|||
import {messages as messagesPt_BR} from '#/locale/locales/pt-BR/messages'
|
||||
import {messages as messagesUk} from '#/locale/locales/uk/messages'
|
||||
import {messages as messagesCa} from '#/locale/locales/ca/messages'
|
||||
import {messages as messagesZh_CN} from '#/locale/locales/zh-CN/messages'
|
||||
|
||||
import {sanitizeAppLanguageSetting} from '#/locale/helpers'
|
||||
import {AppLanguage} from '#/locale/languages'
|
||||
|
@ -62,6 +63,9 @@ export async function dynamicActivate(locale: AppLanguage) {
|
|||
i18n.loadAndActivate({locale, messages: messagesCa})
|
||||
break
|
||||
}
|
||||
case AppLanguage.zh_CN: {
|
||||
i18n.loadAndActivate({locale, messages: messagesZh_CN})
|
||||
}
|
||||
default: {
|
||||
i18n.loadAndActivate({locale, messages: messagesEn})
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue