mirror of
https://gitee.com/openharmony/global_i18n
synced 2024-11-23 15:10:32 +00:00
commit
3a688304fe
@ -134,9 +134,9 @@ ohos_shared_library("intl_util") {
|
||||
":common_phonenumber_xml",
|
||||
":config_locales_xml",
|
||||
":dialect_languages_xml",
|
||||
":en_Latn_lang_xml",
|
||||
":en_Latn_region_xml",
|
||||
":en_datetime_xml",
|
||||
":en_lang_xml",
|
||||
":i18n.para",
|
||||
":i18n.para.dac",
|
||||
":i18n_param_config_xml",
|
||||
@ -316,8 +316,8 @@ ohos_prebuilt_etc("zh_Hans_timezone_xml") {
|
||||
subsystem_name = "global"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("en_lang_xml") {
|
||||
source = "//base/global/i18n/frameworks/intl/etc/lang/en.xml"
|
||||
ohos_prebuilt_etc("en_Latn_lang_xml") {
|
||||
source = "//base/global/i18n/frameworks/intl/etc/lang/en-Latn.xml"
|
||||
module_install_dir = "etc/ohos_lang_config/"
|
||||
part_name = "i18n"
|
||||
subsystem_name = "global"
|
||||
|
@ -14,7 +14,7 @@
|
||||
-->
|
||||
<i18n_param_config>
|
||||
<supported_regions>AD,AE,AF,AG,AI,AL,AM,AO,AR,AS,AT,AU,AW,AX,AZ,BA,BB,BD,BE,BF,BG,BH,BI,BJ,BL,BM,BN,BO,BQ,BR,BS,BW,BY,BZ,CA,CC,CD,CF,CG,CH,CI,CK,CL,CM,CN,CO,CR,CU,CV,CW,CX,CY,CZ,DE,DG,DJ,DK,DM,DO,DZ,EA,EC,EE,EG,ER,ES,ET,FI,FJ,FK,FM,FO,FR,GA,GB,GD,GE,GF,GG,GH,GI,GL,GM,GN,GP,GQ,GR,GT,GU,GW,GY,HK,HN,HR,HT,HU,IC,ID,IE,IL,IM,IN,IO,IQ,IR,IS,IT,JE,JM,JO,JP,KE,KG,KH,KI,KM,KN,KR,KW,KY,KZ,LA,LB,LC,LI,LK,LR,LS,LT,LU,LV,LY,MA,MC,MD,ME,MF,MG,MH,MK,ML,MM,MN,MO,MP,MQ,MR,MS,MT,MU,MV,MW,MX,MY,MZ,NA,NC,NE,NF,NG,NI,NL,NO,NP,NR,NU,NZ,OM,PA,PE,PF,PG,PH,PK,PL,PM,PN,PR,PS,PT,PW,PY,QA,RE,RO,RS,RU,RW,SA,SB,SC,SD,SE,SG,SH,SI,SJ,SK,SL,SM,SN,SO,SR,SS,ST,SV,SX,SY,SZ,TC,TD,TG,TH,TJ,TK,TL,TM,TN,TO,TR,TT,TV,TW,TZ,UA,UG,UM,US,UY,UZ,VA,VC,VE,VG,VI,VN,VU,WF,WS,YE,YT,ZA,ZM,ZW</supported_regions>
|
||||
<white_languages>zh-Hans,en,zh-Hant,zh-Hant-HK,bo,ug</white_languages>
|
||||
<white_languages>zh-Hans,en-Latn-US,zh-Hant,zh-Hant-HK,bo,ug</white_languages>
|
||||
<forbidden_regions></forbidden_regions>
|
||||
<forbidden_languages></forbidden_languages>
|
||||
</i18n_param_config>
|
@ -13,7 +13,7 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
<supported_locales>
|
||||
<item>en</item>
|
||||
<item>en-Latn</item>
|
||||
<item>zh-Hans</item>
|
||||
<item>zh-Hant</item>
|
||||
<item>zh-Hant-HK</item>
|
||||
|
@ -215,6 +215,7 @@ static unordered_map<string, string> g_languageMap = {
|
||||
{ "es-Latn-US", "es-419" },
|
||||
{ "az-Latn", "az-Latn" },
|
||||
{ "bs-Latn", "bs-Latn" },
|
||||
{ "en-Latn-US", "en" },
|
||||
{ "en-Qaag", "en-Qaag" },
|
||||
{ "uz-Latn", "uz-Latn" },
|
||||
{ "sr-Latn", "sr-Latn" },
|
||||
|
Loading…
Reference in New Issue
Block a user