Created
July 17, 2012 06:37
-
-
Save sigmike/3127659 to your computer and use it in GitHub Desktop.
Locales using a comma as thousand separator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# generated with this command: cd /usr/share/i18n/locales; egrep -l '^thousands_sep +"<U002C>"' * | |
ar_AE | |
ar_BH | |
ar_DZ | |
ar_EG | |
ar_IQ | |
ar_JO | |
ar_KW | |
ar_LB | |
ar_LY | |
ar_MA | |
ar_OM | |
ar_QA | |
ar_SD | |
ar_SY | |
ar_TN | |
ar_YE | |
bem_ZM | |
ber_DZ | |
ber_MA | |
bn_BD | |
bn_IN | |
dv_MV | |
dz_BT | |
en_AU | |
en_CA | |
en_GB | |
en_HK | |
en_IN | |
en_NG | |
en_NZ | |
en_PH | |
en_SG | |
en_US | |
eo_US | |
fa_IR | |
ga_IE | |
gv_GB | |
he_IL | |
hi_IN | |
hy_AM | |
iw_IL | |
km_KH | |
kw_GB | |
la_AU | |
lg_UG | |
lo_LA | |
ml_IN | |
ms_MY | |
mt_MT | |
my_MM | |
ne_NP | |
om_KE | |
or_IN | |
sa_IN | |
sd_PK | |
si_LK | |
so_SO | |
ta_IN | |
te_IN | |
th_TH | |
ti_ET | |
tk_TM | |
tlh_GB | |
ur_PK | |
uz_UZ | |
uz_UZ@cyrillic | |
zh_CN | |
zh_HK | |
zh_SG | |
zh_TW | |
# Then I parsed the result in an irb session: | |
# require 'countries' | |
# puts result.split.map { |x| x.split('_').last.split('@').first }.uniq.map { |x| Country[x].name }.sort.join(", ") | |
Algeria, Armenia, Australia, Bahrain, Bangladesh, Bhutan, Cambodia, Canada, China, Egypt, Ethiopia, Hong Kong, India, Iran, Islamic Republic Of, Iraq, Ireland, Israel, Jordan, Kenya, Kuwait, Lao People's Democratic Republic, Lebanon, Libyan Arab Jamahiriya, Malaysia, Maldives, Malta, Morocco, Myanmar, Nepal, New Zealand, Nigeria, Oman, Pakistan, Philippines, Qatar, Singapore, Somalia, Sri Lanka, Sudan, Syrian Arab Republic, Taiwan, Province Of China, Thailand, Tunisia, Turkmenistan, Uganda, United Arab Emirates, United Kingdom, United States, Uzbekistan, Yemen, Zambia | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment