bugGNU gettext - Bugs: bug #44588, Swedish translations not working...

 
 

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

bug #44588: Swedish translations not working on Windows systems

Submitter:  None
Submitted:  Fri 20 Mar 2015 09:18:11 AM UTC
   
 
Category:  End-user / runtime Severity:  3 - Normal
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  ueno
Open/Closed:  Closed

Tue 22 Mar 2016 05:41:58 AM UTC, comment #1: 

Thanks Geert for the patch.  I have pushed it to gnulib repo so gettext will use the code from the next sync.

Daiki Ueno <ueno>
Group administrator
Fri 20 Mar 2015 09:18:11 AM UTC, original submission:  

This bug was discovered in gnucash.

Setting the environment variable LANG to 'sv' is ignored on Windows. All strings are still in English.

However setting it to 'fr' will correctly use the French language tranlsations.

Also setting LANG to 'Swedish_Sweden' also works.

I have looked around in the gettext source code and I suspect this is because 'sv' is missing in the language_table in gettext-runtime/intl/setlocale.c

Anonymous

 

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

Attached Files
file #36711:  0001-Add-Swedish-to-language-table-for-Windows-locale-nam.patch added by gjanssens (809B - text/x-patch - Patch to fix the failing Swedish locale name conversion on Windows)

 

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 gjanssens (Updated the item)
  • -email is unavailable- added by gjanssens (Apparently I was not logged in as I submitted this bug. So cc'ing myself...)
  •  

    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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-04 haible StatusFixed Fix Released
    2016-11-27 haible CategoryNone End-user / runtime
        Assigned toNone ueno
    2016-03-22 ueno StatusNone Fixed
        Open/ClosedOpen Closed
    2016-03-21 gjanssens Attached File- Added 0001-Add-Swedish-to-language-table-for-Windows-locale-nam.patch, #36711
    2015-03-20 gjanssens Carbon-Copy- Added gjanssens

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code