mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 13:37:37 +00:00
11 KiB
11 KiB
翻译
NocoBase 默认语言是英语,目前支持英语、简体中文。你可以帮助 NocoBase 翻译成你的语言。
NocoBase 语言文件在以下位置:
packages/core/**/src/locale
packages/plugins/**/src/locale
其中,NocoBase 核心的翻译主要在这里:
https://github.com/nocobase/nocobase/tree/main/packages/core/client/src/locale
请复制 en_US.ts,命名为想要新增的语言的名字,然后对其中的字符串进行翻译。翻译完成之后,请通过 pull request 提交给 NocoBase,我们将会把它加入语言列表。之后你将在系统配置中看到新增的语言,在这里你可以配置需要显示哪些语言供用户选择。
下面的表格中列出了 Language Culture Name, Locale File Name, Display Name.
Language Culture Name | Locale File Name | Display Name |
---|---|---|
af-ZA | af_ZA.ts | Afrikaans - South Africa |
sq-AL | sq_AL.ts | Albanian - Albania |
ar-DZ | ar_DZ.ts | Arabic - Algeria |
ar-BH | ar_BH.ts | Arabic - Bahrain |
ar-EG | ar_EG.ts | Arabic - Egypt |
ar-IQ | ar_IQ.ts | Arabic - Iraq |
ar-JO | ar_JO.ts | Arabic - Jordan |
ar-KW | ar_KW.ts | Arabic - Kuwait |
ar-LB | ar_LB.ts | Arabic - Lebanon |
ar-LY | ar_LY.ts | Arabic - Libya |
ar-MA | ar_MA.ts | Arabic - Morocco |
ar-OM | ar_OM.ts | Arabic - Oman |
ar-QA | ar_QA.ts | Arabic - Qatar |
ar-SA | ar_SA.ts | Arabic - Saudi Arabia |
ar-SY | ar_SY.ts | Arabic - Syria |
ar-TN | ar_TN.ts | Arabic - Tunisia |
ar-AE | ar_AE.ts | Arabic - United Arab Emirates |
ar-YE | ar_YE.ts | Arabic - Yemen |
hy-AM | hy_AM.ts | Armenian - Armenia |
Cy-az-AZ | Cy_az_AZ.ts | Azeri (Cyrillic) - Azerbaijan |
Lt-az-AZ | Lt_az_AZ.ts | Azeri (Latin) - Azerbaijan |
eu-ES | eu_ES.ts | Basque - Basque |
be-BY | be_BY.ts | Belarusian - Belarus |
bg-BG | bg_BG.ts | Bulgarian - Bulgaria |
ca-ES | ca_ES.ts | Catalan - Catalan |
zh-CN | zh_CN.ts | Chinese - China |
zh-HK | zh_HK.ts | Chinese - Hong Kong SAR |
zh-MO | zh_MO.ts | Chinese - Macau SAR |
zh-SG | zh_SG.ts | Chinese - Singapore |
zh-TW | zh_TW.ts | Chinese - Taiwan |
zh-CHS | zh_CHS.ts | Chinese (Simplified) |
zh-CHT | zh_CHT.ts | Chinese (Traditional) |
hr-HR | hr_HR.ts | Croatian - Croatia |
cs-CZ | cs_CZ.ts | Czech - Czech Republic |
da-DK | da_DK.ts | Danish - Denmark |
div-MV | div_MV.ts | Dhivehi - Maldives |
nl-BE | nl_BE.ts | Dutch - Belgium |
nl-NL | nl_NL.ts | Dutch - The Netherlands |
en-AU | en_AU.ts | English - Australia |
en-BZ | en_BZ.ts | English - Belize |
en-CA | en_CA.ts | English - Canada |
en-CB | en_CB.ts | English - Caribbean |
en-IE | en_IE.ts | English - Ireland |
en-JM | en_JM.ts | English - Jamaica |
en-NZ | en_NZ.ts | English - New Zealand |
en-PH | en_PH.ts | English - Philippines |
en-ZA | en_ZA.ts | English - South Africa |
en-TT | en_TT.ts | English - Trinidad and Tobago |
en-GB | en_GB.ts | English - United Kingdom |
en-US | en_US.ts | English - United States |
en-ZW | en_ZW.ts | English - Zimbabwe |
et-EE | et_EE.ts | Estonian - Estonia |
fo-FO | fo_FO.ts | Faroese - Faroe Islands |
fa-IR | fa_IR.ts | Farsi - Iran |
fi-FI | fi_FI.ts | Finnish - Finland |
fr-BE | fr_BE.ts | French - Belgium |
fr-CA | fr_CA.ts | French - Canada |
fr-FR | fr_FR.ts | French - France |
fr-LU | fr_LU.ts | French - Luxembourg |
fr-MC | fr_MC.ts | French - Monaco |
fr-CH | fr_CH.ts | French - Switzerland |
gl-ES | gl_ES.ts | Galician - Galician |
ka-GE | ka_GE.ts | Georgian - Georgia |
de-AT | de_AT.ts | German - Austria |
de-DE | de_DE.ts | German - Germany |
de-LI | de_LI.ts | German - Liechtenstein |
de-LU | de_LU.ts | German - Luxembourg |
de-CH | de_CH.ts | German - Switzerland |
el-GR | el_GR.ts | Greek - Greece |
gu-IN | gu_IN.ts | Gujarati - India |
he-IL | he_IL.ts | Hebrew - Israel |
hi-IN | hi_IN.ts | Hindi - India |
hu-HU | hu_HU.ts | Hungarian - Hungary |
is-IS | is_IS.ts | Icelandic - Iceland |
id-ID | id_ID.ts | Indonesian - Indonesia |
it-IT | it_IT.ts | Italian - Italy |
it-CH | it_CH.ts | Italian - Switzerland |
ja-JP | ja_JP.ts | Japanese - Japan |
kn-IN | kn_IN.ts | Kannada - India |
kk-KZ | kk_KZ.ts | Kazakh - Kazakhstan |
kok-IN | kok_IN.ts | Konkani - India |
ko-KR | ko_KR.ts | Korean - Korea |
ky-KZ | ky_KZ.ts | Kyrgyz - Kazakhstan |
lv-LV | lv_LV.ts | Latvian - Latvia |
lt-LT | lt_LT.ts | Lithuanian - Lithuania |
mk-MK | mk_MK.ts | Macedonian (FYROM) |
ms-BN | ms_BN.ts | Malay - Brunei |
ms-MY | ms_MY.ts | Malay - Malaysia |
mr-IN | mr_IN.ts | Marathi - India |
mn-MN | mn_MN.ts | Mongolian - Mongolia |
nb-NO | nb_NO.ts | Norwegian (Bokmål) - Norway |
nn-NO | nn_NO.ts | Norwegian (Nynorsk) - Norway |
pl-PL | pl_PL.ts | Polish - Poland |
pt-BR | pt_BR.ts | Portuguese - Brazil |
pt-PT | pt_PT.ts | Portuguese - Portugal |
pa-IN | pa_IN.ts | Punjabi - India |
ro-RO | ro_RO.ts | Romanian - Romania |
ru-RU | ru_RU.ts | Russian - Russia |
sa-IN | sa_IN.ts | Sanskrit - India |
Cy-sr-SP | Cy_sr_SP.ts | Serbian (Cyrillic) - Serbia |
Lt-sr-SP | Lt_sr_SP.ts | Serbian (Latin) - Serbia |
sk-SK | sk_SK.ts | Slovak - Slovakia |
sl-SI | sl_SI.ts | Slovenian - Slovenia |
es-AR | es_AR.ts | Spanish - Argentina |
es-BO | es_BO.ts | Spanish - Bolivia |
es-CL | es_CL.ts | Spanish - Chile |
es-CO | es_CO.ts | Spanish - Colombia |
es-CR | es_CR.ts | Spanish - Costa Rica |
es-DO | es_DO.ts | Spanish - Dominican Republic |
es-EC | es_EC.ts | Spanish - Ecuador |
es-SV | es_SV.ts | Spanish - El Salvador |
es-GT | es_GT.ts | Spanish - Guatemala |
es-HN | es_HN.ts | Spanish - Honduras |
es-MX | es_MX.ts | Spanish - Mexico |
es-NI | es_NI.ts | Spanish - Nicaragua |
es-PA | es_PA.ts | Spanish - Panama |
es-PY | es_PY.ts | Spanish - Paraguay |
es-PE | es_PE.ts | Spanish - Peru |
es-PR | es_PR.ts | Spanish - Puerto Rico |
es-ES | es_ES.ts | Spanish - Spain |
es-UY | es_UY.ts | Spanish - Uruguay |
es-VE | es_VE.ts | Spanish - Venezuela |
sw-KE | sw_KE.ts | Swahili - Kenya |
sv-FI | sv_FI.ts | Swedish - Finland |
sv-SE | sv_SE.ts | Swedish - Sweden |
syr-SY | syr_SY.ts | Syriac - Syria |
ta-IN | ta_IN.ts | Tamil - India |
tt-RU | tt_RU.ts | Tatar - Russia |
te-IN | te_IN.ts | Telugu - India |
th-TH | th_TH.ts | Thai - Thailand |
tr-TR | tr_TR.ts | Turkish - Turkey |
uk-UA | uk_UA.ts | Ukrainian - Ukraine |
ur-PK | ur_PK.ts | Urdu - Pakistan |
Cy-uz-UZ | Cy_uz_UZ.ts | Uzbek (Cyrillic) - Uzbekistan |
Lt-uz-UZ | Lt_uz_UZ.ts | Uzbek (Latin) - Uzbekistan |
vi-VN | vi_VN.ts | Vietnamese - Vietnam |