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

Bug#632798: libc6: broken LANGUAGE design



Jonathan Nieder wrote:

> 4. Despite what the gettext manual[*] says, setting LANG does not cause
>    LANGUAGE to take effect.  This is another bug, as far as I can tell.
>
> 	$ LANG=en_US LANGUAGE=de_DE cp
> 	cp: missing file operand
> 	Try `cp --help' for more information.

The above explanation is nonsense --- the actual cause of the above
behavior is that there is no plain "en_US" locale installed here.

	$ locale -a | grep en
	en_US.utf8
	$ LC_ALL=gobbledegook LANGUAGE=de cp
	cp: missing file operand
	Try `cp --help' for more information.
	$ LANG=en_US.UTF-8 LANGUAGE=de cp
	cp: Fehlendes Dateioperand
	„cp --help“ gibt weitere Informationen.

It _might_ be more intuitive for non-installed locales to enable
LANGUAGE, too; if so, you can pretend I was complaining about that and
call it #4.  Otherwise, please feel free to ignore the example.

Sorry for the confusion.



Reply to: