Where is the list of available Windows locales?
- by Richard Cotton
If you open the Regional and Language Options (via Control Panel), and click on the Regional Options tab, then there is a drop down list of all the available locales.
Where is this list populated from?
(I want to compare the settings for each locale; I'm fine with how to do that, but I need a list of locale names to loop over.)
EDIT: After browsing through my windows directory (should probably mention I'm using XP), the file
C:\WINDOWS\system32\locale.nls
looks like a plausible candidate, but it's a binary file. Is this what I should be looking at, and if so, how do I read it?