Hello,
I want to convert POSIX locale names like en_US
, de_DE
that use
ISO-639-1 and ISO-3166 codes
to Windows ones English_United States
, German_Germany
and back.
I had found following tables on MSDN site:
- Languages http://msdn.microsoft.com/en-us/library/39cwe7zf(v=VS.71).aspx
- Countries http://msdn.microsoft.com/en-us/library/cdax410z(v=VS.71).aspx
However they are very partial. For example these tables miss Arabic, Hebrew and many other locales that I know are supported Hebrew_Israel
.
Where can I find fully updated tables of Windows locale names and ISO 639/3166 codes.
Note: I need it to work from Windows 2000 or at least XP to Windows 7, so I don't want to relay on fact that Vista and 7 support BCP-47 style locale names.
Edit: I have an ISO-639 language codes and ISO-3166 country/territory codes. But I need to know what languages/countries are supported and how they are actually named under MSVC should I use.