Monday, July 25, 2005

[I18N]environment variable priority

In which language will your application's interface will be displayed?
It depends on the following environment variables with decreasing priority:
  1. LANGUAGE
  2. LC_ALL
  3. LC_xxx
  4. LANG
PS: another environment variable related to I18N is "LINGUAS". Its value is a space separated list of language code, e.g. "en", "zh_CN". When building an application, this value determines which locale's mo file will be built.

2 Comments:

Blogger Lostin said...

I have been reading you blog for a while now, although I dont quite understand all this stuff, but I think your site could be useful, can I link you?

8/04/2005 4:24 PM  
Blogger Zhang Le said...

Yes, of course

8/31/2005 2:29 PM  

Post a Comment

Links to this post:

Create a Link

<< Home