Am Samstag, den 05.09.2009, 21:40 +0400 schrieb Alexey I. Froloff: > On Sat, Sep 05, 2009 at 12:09:08PM +0200, Christopher Roy Bratusek wrote: > > - (let ((lang (or (getenv "LANGUAGE") (getenv "LC_ALL") > > - (getenv "LC_MESSAGES") (getenv "LANG"))) > > + (let ((lang (or (getenv "LANG") (getenv "LANGUAGE") > > + (getenv "LC_MESSAGES") (getenv "LC_ALL"))) > This is so WRONG. From locale(7): > > 1. If there is a non-null environment variable LC_ALL, the value > of LC_ALL is used. > > 2. If an environment variable with the same name as one of the > categories above exists and is non-null, its value is used > for that category. > > 3. If there is a non-null environment variable LANG, the value > of LANG is used. > > And LANGUAGE should only be used if LC_ALL/LC_category/LANG is > not set to POSIX/C. > reverted
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil