[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.

Comments

TZ 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?
r0bertz said…
Yes, of course

Popular posts from this blog

portage-2.2 preserve-libs FEATURES explained

Send $SGB (Songbird) to another wallet using a script

The diff between the original SEC complaint against Ripple and the amended one