OS/2 locales are based on a set of keyword = value pairs. The items include those used by Posix, OS/2, Win32, and Java locales. Items whose names start with 'i' or 'x' are integers. Items whose names start with a 's' or 'j' are strings. You can ask for the value of all items as a unicode string. You can ask for the value of any locale item as an integer, but you will only get a valid response if the string can be converted to an integer.
The list of locale items is declared in ulsitem.h. The C defines for locale items consist of "LOCI_" appened to the beginning of the item name. The POSIX names for the items can also be used.
There is an alternate version of several locales. This is normally the locale with the Euro currency symbol, or an alternate collation sequence.
The locales shown here are at the newest level.
Locale | Alternate | Language | Country |
sq_AL | Albanian | Albania | |
ar_DZ | Arabic | Algeria | |
ar_AA | Arabic | Arabic Speaking | |
es_AR | Spanish | Argentina | |
en_AU | English | Australia | |
de_AT | de_AT_EURO | German | Austria |
ar_BH | Arabic | Bahrain | |
be_BY | Belarusian | Belarus | |
fr_BE | fr_BE_EURO | French | Belgium |
nl_BE | nl_BE_EURO | Dutch | Belgium |
es_BO | Spanish | Bolivia | |
sh_BA | Serbo-Croatian | Bosnia Herzogovina | |
pt_BR | Portuguese | Brazil | |
bg_BG | Bulgarian | Bulgaria | |
c | posix | English | C |
en_CA | English | Canada | |
fr_CA | French | Canada | |
es_CL | Spanish | Chile | |
es_CO | Spanish | Colombia | |
es_CR | Spanish | Costa Rica | |
hr_HR | Croatian | Croatia | |
cs_CZ | Czech | Czech Republic | |
da_DK | da_DK_EURO | Danish | Denmark |
es_DO | Spanish | Dominican Republic | |
es_EC | Spanish | Ecuador | |
ar_EG | Arabic | Egypt | |
es_SV | Spanish | El Salvador | |
et_EE | Estonian | Estonia | |
mk_MK | Macedonian | FYR Macedonia | |
sv_FI | sv_FI_EURO | Swedish | Finland |
fi_FI | fi_FI_EURO | Finnish | Finland |
fr_FR | fr_FR_EURO | French | France |
de_DE | de_DE_EURO | German | Germany |
el_GR | Greek | Greece | |
es_GT | Spanish | Guatemala | |
es_HN | Spanish | Honduras | |
zh_HK | Chinese | Hong Kong | |
hu_HU | Hungarian | Hungary | |
is_IS | Icelandic | Iceland | |
in_ID | Indonesian | Indonesia | |
fa_IR | Farsi | Iran | |
en_IE | en_IE_EURO | English | Ireland |
he_IL | Hebrew | Israel | |
iw_IL | Hebrew | Israel | |
it_IT | it_IT_EURO | Italian | Italy |
ja_JP | ja_JP_u | Japanese | Japan |
ar_JO | Arabic | Jordan | |
ko_KR | ko_KR_u | Korean | Korea |
ar_KW | Arabic | Kuwait | |
es_LA | Spanish | Latin America | |
lv_LV | Latvian | Latvia | |
ar_LB | Arabic | Lebanon | |
de_LI | German | Liechtenstein | |
lt_LT | Lithuanian | Lithuania | |
fr_LU | fr_LU_EURO | French | Luxembourg |
de_LU | de_LU_EURO | German | Luxembourg |
es_MX | Spanish | Mexico | |
ar_MA | Arabic | Morocco | |
nl_NL | nl_NL_EURO | Dutch | Netherlands |
en_NZ | English | New Zealand | |
es_NI | Spanish | Nicaragua | |
no_NO | Norwegian | Norway | |
ar_OM | Arabic | Oman | |
es_PA | Spanish | Panama | |
es_PY | Spanish | Paraguay | |
zh_CN | zh_CN_u | Chinese | People's Republic of China |
es_PE | Spanish | Peru | |
pl_PL | Polish | Poland | |
pt_PT | pt_PT_EURO | Portuguese | Portugal |
ar_QA | Arabic | Qatar | |
ro_RO | Romanian | Romania | |
ru_RU | Russian | Russia | |
ar_SA | Arabic | Saudi Arabia | |
hr_SP | Romanian | Serbia | |
sr_SP | Serbian (Cyrillic) | Serbia | |
zh_SG | Chinese | Singapore | |
sk_SK | Slovak | Slovakia | |
sl_SI | Slovene | Slovenia | |
en_ZA | English | South Africa | |
es_ES | es_ES_EURO | Spanish | Spain |
es_ES_t | Spanish | Spain | |
ca_ES | ca_ES_EURO | Catalan | Spain |
eu_ES | eu_ES_EURO | Basque | Spain |
sv_SE | sv_SE_EURO | Swedish | Sweden |
fr_CH | French | Switzerland | |
it_CH | Italian | Switzerland | |
de_CH | German | Switzerland | |
ar_SY | Arabic | Syria | |
zh_TW | zh_TW_u | Chinese | Taiwan |
th_TH | Thai | Thailand | |
ar_TN | Arabic | Tunisia | |
tr_TR | Turkish | Turkey | |
ar_UA | Arabic | U.A.E. | |
uk_UA | Ukrainian | Ukraine | |
en_GB | en_GB_EURO | English | United Kingdom |
en_US | English | United States | |
es_US | Spanish | United States | |
es_UY | Spanish | Uruguay | |
es_VE | Spanish | Venezuela | |
vi_VN | Vietnamese | Vietnam | |
ar_YE | Arabic | Yemen |