bugGNU gettext - Bugs: bug #40704, “en” has no effect when it is...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #40704: “en” has no effect when it is used in the variable “LANGUAGE”

Submitter:  Garreau, Alexandre <galex_713>
Submitted:  Mon 25 Nov 2013 08:52:05 PM UTC
   
 
Category:  End-user / runtime Severity:  3 - Normal
Item Group:  None Status:  Not a Bug
Privacy:  Public Assigned to:  ueno
Open/Closed:  Closed

Tue 22 Apr 2014 06:32:05 AM UTC, comment #3: 

Hm, however, "en" message catalogs are already used for certain purpose e.g. gtk+ uses it to assign human readable names to key labels:


msgctxt "keyboard label"
msgid "KP_Right"
msgstr "Right (keypad)"


I guess we can't change the definition to C.  Closing this now anyway.

Daiki Ueno <ueno>
Group administrator
Fri 28 Feb 2014 12:18:25 PM UTC, comment #2: 

Ah ok, I thought “en” was an alias for the default (C).  Why not make it so?  It would be more intuitive to have “en” standing for English language.

Garreau, Alexandre <galex_713>
Fri 28 Feb 2014 08:06:00 AM UTC, comment #1: 

Isn't it because coreutils missing "en" message catalog?  You can use "C" in that case:

$ LANGUAGE=C:fr cat --help | head -n 2
Usage: cat [OPTION]... [FILE]...
Concatenate FILE(s), or standard input, to standard output.

LANGUAGE=en works like that, because LANGUAGE does not contain any usable locale and glibc falls back to C.

Daiki Ueno <ueno>
Group administrator
Mon 25 Nov 2013 08:52:05 PM UTC, original submission:  

It seems put “en” is the LANGUAGE environment variable make an internationalized software use English only if used alone.
With LANG=fr_FR.UTF-8:

$ cat --help | head -n 2
Utilisation : cat [OPTION]... [FILE]...
Concaténer le ou les FILEs, ou l'entrée standard, vers la sortie standard.
$ LANGUAGE=en cat --help | head -n 2
Usage: cat [OPTION]... [FILE]...
Concatenate FILE(s), or standard input, to standard output.
$ LANGUAGE=en:fr cat --help | head -n 2
Utilisation : cat [OPTION]... [FILE]...
Concaténer le ou les FILEs, ou l'entrée standard, vers la sortie standard.
$ LANGUAGE=en:it:fr cat --help | head -n 2
Uso: cat [OPZIONE]... [FILE]...
Concatena uno o più FILE, o lo standard input, sullo standard output.

Normally, when “en” is at the beginning of LANGUAGE, the output should be in English, right?

Garreau, Alexandre <galex_713>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Updated the item)
  • -email is unavailable- added by ueno (Posted a comment)
  • -email is unavailable- added by galex_713 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-11-27 haible CategoryNone End-user / runtime
        Assigned toNone ueno
    2014-04-22 ueno StatusNone Not a Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code