Electron Locales

2018-07-13 14:12 更新
app.getLocale() 返回的區(qū)域設(shè)置值

Electron使用Chromium的l10n_util庫來獲取區(qū)域設(shè)置。 可能的值如下:

語言代碼語言名
afAfrikaans
amAmharic
arArabic
azAzerbaijani
beBelarusian
bgBulgarian
bhBihari
bnBengali
brBreton
bsBosnian
caCatalan
coCorsican
csCzech
cyWelsh
daDanish
deGerman
de-ATGerman (Austria)
de-CHGerman (Switzerland)
de-DEGerman (Germany)
elGreek
enEnglish
en-AUEnglish (Australia)
en-CAEnglish (Canada)
en-GBEnglish (UK)
en-NZEnglish (New Zealand)
en-USEnglish (US)
en-ZAEnglish (South Africa)
eoEsperanto
esSpanish
es-419Spanish (Latin America)
etEstonian
euBasque
faPersian
fiFinnish
filFilipino
foFaroese
frFrench
fr-CAFrench (Canada)
fr-CHFrench (Switzerland)
fr-FRFrench (France)
fyFrisian
gaIrish
gdScots Gaelic
glGalician
gnGuarani
guGujarati
haHausa
hawHawaiian
heHebrew
hiHindi
hrCroatian
huHungarian
hyArmenian
iaInterlingua
idIndonesian
isIcelandic
itItalian
it-CHItalian (Switzerland)
it-ITItalian (Italy)
jaJapanese
jwJavanese
kaGeorgian
kkKazakh
kmCambodian
knKannada
koKorean
kuKurdish
kyKyrgyz
laLatin
lnLingala
loLaothian
ltLithuanian
lvLatvian
mkMacedonian
mlMalayalam
mnMongolian
moMoldavian
mrMarathi
msMalay
mtMaltese
nbNorwegian (Bokmal)
neNepali
nlDutch
nnNorwegian (Nynorsk)
noNorwegian
ocOccitan
omOromo
orOriya
paPunjabi
plPolish
psPashto
ptPortuguese
pt-BRPortuguese (Brazil)
pt-PTPortuguese (Portugal)
quQuechua
rmRomansh
roRomanian
ruRussian
sdSindhi
shSerbo-Croatian
siSinhalese
skSlovak
slSlovenian
snShona
soSomali
sqAlbanian
srSerbian
stSesotho
suSundanese
svSwedish
swSwahili
taTamil
teTelugu
tgTajik
thThai
tiTigrinya
tkTurkmen
toTonga
trTurkish
ttTatar
twTwi
ugUighur
ukUkrainian
urUrdu
uzUzbek
viVietnamese
xhXhosa
yiYiddish
yoYoruba
zhChinese
zh-CNChinese (Simplified)
zh-TWChinese (Traditional)
zuZulu


以上內(nèi)容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號