Hannu, you have brought up a number of good points. Hannu> I
don't think any language numbering scheme will work well, Hannu>
because it makes it too hard / impossible to add new Hannu>
languages or variants of languages quickly. This is dependent on
the numbering scheme. For example, if languages are simply
numbered based on the order they appear on the list, new
languages would simply be given the next available number.
Approaches based on "frequently occuring" languages would make
it somewhat more difficult to assign numbers without conflicts.
Hannu> No list of languages will contain everything the users
will Hannu> need, so the only working solution is string-based,
Hannu> i.e. something like the locale names (e.g. en_us, en_uk,
Hannu> ...) used in many places: - The basic language (first 2
or Hannu> 3 letters, 3 need to be allowed too) are standardized,
so Hannu> you can always get to the major language - They're
easy to Hannu> extend, as the remaining part can be anything,
including Hannu> user-defined