Boost logo

Boost :

Subject: Re: [boost] [Locale] MS-LCID's table from MSDN site and Copyrights
From: Ian Emmons (iemmons_at_[hidden])
Date: 2010-09-02 17:51:11

On Sep 2, 2010, at 12:15 AM, Artyom wrote:
> P.S.: I can create a workaround based on iterating over all installed
> LCID's in runtime and querying their ISO-639 and ISO-3199 codes
> using GetLocaleInfo first time I need to use such table, but
> integrating static table would be much simpler and faster
> solution.

I would favor this approach (querying at run time for the table), since it avoids maintenance concerns. I know this table won't change often, but surely in the next ten years we can expect a few new countries to show up and old ones to go away. (Wherever you go, there seems to be no shortage of people who think they can rule better than the current government.) Why build into your software the need to keep updating the translation table? Also, keep in mind that when the country list changes, Microsoft will likely update the Windows-internal list (via Windows Update) faster than they will update their documentation.

Boost list run by bdawes at, gregod at, cpdaniel at, john at