Re: Passage en langue anglaise
On 2006-08-07 23:52:43 +0200, Mike Massonnet wrote:
> Ce que je fais habituellement pour passer en anglais c'est simplement
> LANG=C.
J'ai déjà un LANG positionné sur en_US.iso88591 (et exporté).
Il semble que la variable LANGUAGE soit une extension de la glibc:
http://www.gnu.org/software/libc/manual/html_node/Using-gettextized-software.html
et
http://www.gnu.org/software/libc/manual/html_node/Locale-Categories.html
When developing the message translation functions it was felt that
the functionality provided by the variables above is not sufficient.
For example, it should be possible to specify more than one locale
name. Take a Swedish user who better speaks German than English, and
a program whose messages are output in English by default. It should
be possible to specify that the first choice of language is Swedish,
the second German, and if this also fails to use English. This is
possible with the variable LANGUAGE. For further description of this
GNU extension see Using gettextized software.
et cette variable semble prioritaire sur LANG (ce qui n'est pas
étonnant pour qu'elle soit utile). Mais son fonctionnement est pour
le moins étrange, car fr était prioritaire sur en, même s'il venait
après. C'est peut-être un bug...
Et puis elle n'est pas prise en compte sur mes autres machines Debian,
qui ont pourtant une glibc plus récente.
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Reply to: