Where is the list of available Windows locales?
Posted
by
Richard Cotton
on Super User
See other posts from Super User
or by Richard Cotton
Published on 2010-07-21T12:48:03Z
Indexed on
2012/06/26
21:20 UTC
Read the original article
Hit count: 222
windows-xp
|locale
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?
© Super User or respective owner