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

 
 

bug #42959: LANGUAGE environment variable misinterpreted

Submitted by:  Shachar Shemesh <shachar>
Submitted on:  Sun 10 Aug 2014 06:02:33 AM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: Not A BugPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 3.81Operating System: None
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 -unavailable- or similar mailing lists to figure out how to set up i18n as you expect.

Paul D. Smith <psmith>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psmith (Posted a comment)
  • -unavailable- added by shachar (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 10 Aug 2014 10:18:47 AM UTCpsmithStatusNone=>Not A Bug
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1