[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [bug #43801] should use default language on Windows, not d
From: |
Eli Zaretskii |
Subject: |
[bug-gettext] [bug #43801] should use default language on Windows, not default locale |
Date: |
Thu, 11 Dec 2014 17:34:49 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:34.0) Gecko/20100101 Firefox/34.0 |
Follow-up Comment #2, bug #43801 (project gettext):
I don't think this patch is correct. The application could change the locale
by calling SetThreadLocale (or any equivalent call, like the global
setlocale), and after that it should get the translations according to that
locale's language. If we use GetUserDefaultUILanguage, there will be no way
for the application to affect the current language and codeset through
locale-related calls. This is important in applications that change locales
for various reasons (e.g., Guile does that).
So if we need to change here something, we will need a better understanding of
the situation you had in mind. Could you please describe the problem in more
detail? Exactly when would the locale's language and the language returned by
GetUserDefaultUILanguage be in conflict, and how can this conflict come into
existence?
Thanks.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43801>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug-gettext] [bug #43801] should use default language on Windows, not default locale, Pierre Ossman, 2014/12/11
- [bug-gettext] [bug #43801] should use default language on Windows, not default locale, Daiki Ueno, 2014/12/11
- [bug-gettext] [bug #43801] should use default language on Windows, not default locale,
Eli Zaretskii <=
- [bug-gettext] [bug #43801] should use default language on Windows, not default locale, Pierre Ossman, 2014/12/12
- [bug-gettext] [bug #43801] should use default language on Windows, not default locale, Eli Zaretskii, 2014/12/12
- [bug-gettext] [bug #43801] should use default language on Windows, not default locale, Pierre Ossman, 2014/12/12
- [bug-gettext] [bug #43801] should use default language on Windows, not default locale, Eli Zaretskii, 2014/12/12
- [bug-gettext] [bug #43801] should use default language on Windows, not default locale, Pierre Ossman, 2014/12/12