URL:
<http://savannah.gnu.org/bugs/?43801>
Summary: should use default language on Windows, not default
locale
Project: GNU gettext
Submitted by: cendossm
Submitted on: Thu 11 Dec 2014 10:46:03 GMT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
A Windows user that has configured a different language and locale will get
translations based on the locale for gettext programs rather than the chosen
language. This is because gettext calls GetThreadLocale() instead of
GetUserDefaultUILanguage().
Patch attached for 0.19.3. Might not be entirely correct though as the
function is meant to get locale, not language. More restructuring might be
needed.
Note that for Win32 you also need to set WINVER to 0x0500 to get this API as
it was new for Windows 2000.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 11 Dec 2014 10:46:03 GMT Name: gettext-0.19.3-langid.patch Size:
777B By: cendossm
<http://savannah.gnu.org/bugs/download.php?file_id=32649>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43801>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/