Skip to content

Instantly share code, notes, and snippets.

@mtetlow
Created September 21, 2014 15:04
Show Gist options
  • Save mtetlow/2b0bbd1ed7e373b7d5f7 to your computer and use it in GitHub Desktop.
Save mtetlow/2b0bbd1ed7e373b7d5f7 to your computer and use it in GitHub Desktop.
locale fun explanation
Had to manually map, most are easy, sh -> sr made me look up the label though... after I saw the label I knew I should have recognized it from the country codes:
iw
iw_IL
in
in_ID
sh_ME
no
no_NO
sh
sh_BA
sh_CS
tl
tl_PH
I found http://developer.android.com/reference/java/util/Locale.html which explains iw and id as a java problem.
Longer list of some with _additions that I just mapped with the first five chars, and if that didn't work first two chars:
ar
hy
az_AZ
eu
bs
bs_BA
bg
ca
ca_ES_EURO
zh
zh_CN_PINYIN
zh_CN_STROKE
zh_HK_STROKE
zh_TW_STROKE
hr
cs
da
nl
nl_SR
en_BB
en_BM
en_GH
en_ID
en_IE_EURO
en_NG
en_PK
et
fi
fi_FI_EURO
fr
fr_FR_EURO
ka
de
de_AT_EURO
de_DE_EURO
de_LU_EURO
el
iw
iw_IL
hi
hu
is
in
in_ID
ga
it
ja
ko
lv
lt
lb
mk
ms
mt
sh_ME
no
no_NO
pl
pt
pt_AO
ro
ro_MD
rm
ru
sr
sr_BA
sh
sh_BA
sh_CS
sr_CS
sk
sl
es
es_ES_EURO
sv
tl
tl_PH
tg_TJ
th
tr
uk
ur
vi
cy
cy_GB]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment