[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#311259: error and omission in documentation of LANGUAGE



On Mon, May 30, 2005 at 10:59:29AM +0200, Mirko Parthey wrote:
> Package: glibc-doc
> Version: 2.3.2.ds1-22
> 
> LANGUAGE seems to have no effect unless LANG is set to something other
> than C. I would propose to document this behaviour in the libc reference
> manual, where LANGUAGE is explained.

This bit I can obviously reproduce...

> Related to this, the documentation claims that LANGUAGE is evaluated
> first, i.e. before any other variables defining the locale. I found out
> by experiment that LANGUAGE seems to be evaluated second-last, and takes
> precedence just over LANG. If this is correct, I would propose to change
> the documentation accordingly.

But not this, do you have an example?

drow@nevyn:~% LANG=en_US LANGUAGE=en_US:de_DE:en_US cat -h
cat: Ungültige Option -- h
,,cat --help" gibt weitere Informationen.
drow@nevyn:~% LANG=en_US LC_ALL=en_US LANGUAGE=en_US:de_DE:en_US cat -h
cat: Ungültige Option -- h
,,cat --help" gibt weitere Informationen.

-- 
Daniel Jacobowitz
CodeSourcery, LLC



Reply to: