bugmake - Bugs: bug #42959, LANGUAGE environment variable...

 
 

bug #42959: LANGUAGE environment variable misinterpreted

Submitter:  Shachar Shemesh <shachar>
Submitted:  Sun 10 Aug 2014 06:02:33 AM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Not A Bug Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  3.81 Operating System:  None
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 10 Aug 2014 10:25:05 AM UTC, comment #2: 

Sorry, I forgot that LANGUAGE was used to select an ordered preference.  That should work, but as I say, it's implemented at a lower level than GNU make so if it doesn't there's nothing GNU make can do about it.

I should point out that LANGUAGE is not sufficient by itself: you ALSO need to have LANG variable set to the primary language.

Paul D. Smith <psmith>
Group administrator
Sun 10 Aug 2014 10:18:47 AM UTC, comment #1: 

GNU make, like all GNU tools, adheres to the POSIX standard to specify i18n information.  This standard doesn't recognize the LANGUAGE environment variable as having any special significance.

You can use either the LANG or LC_ALL environment variables, or choose individual localization settings with other LC_* variables.

See http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html for more details on POSIX i18n and l10n variables.

If this doesn't work for you please post a new comment.  However, note that i18n support is all implemented with libraries below GNU make; if it doesn't work there's actually not much GNU make can do about it: it's a bug in some other library.  It might be best to ask on the -email is unavailable- or similar mailing lists to figure out how to set up i18n as you expect.

Paul D. Smith <psmith>
Group administrator
Sun 10 Aug 2014 06:02:33 AM UTC, original submission:  

Using the version supplied by Ubuntu. I was not able to make localization work on an uninstalled or a prefix installed version.

When my LANGUAGE environment variable is set to en:he, I expect make to use the English translations. Instead, I get Hebrew.

The same is true if I set the environment to "C:he".

Shachar Shemesh <shachar>

 

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

Attach Files:
   
   
Comment:
   

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 psmith (Posted a comment)
  • -email is unavailable- added by shachar (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.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-08-10 psmith StatusNone Not A Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code