From: Brian A. <br...@ta...> - 2001-02-14 19:30:15
|
Chris Nandor wrote: > > Just so we have this written down somewhere and we are all on the same page > ... language codes in Slash will be locale codes, which are the two-letter, > lowercase, ISO 639 codes for language, and two-letter, uppercase, ISO 3166 > codes for country. Joined with an underscore. Five characters long. > en_US, en_CA, de_DE, zh_CN, ja_JP. > > If we need to change our system later we will, but this is how it is for now. > > (Right now there is not much code in Slash to support languages, but we > wanted to get the templates assigned languages in the database, at least.) Couple of side notes. A template is bound to be uniq based on name,page,section and language. At some point updating the template tool for this would be a good idea, but hardly a big need at the moment. In users_prefs there is also a column for lang. Bother templates and users default to en_US. It would be a good idea at some point to drop into code_param a full list of all locale for someone to use to generate a list of possible locales. -Brian |