fixed the bug with getting the wrong locale #363

Merged
rickdsanchez merged 1 commits from locale-bug-fix into master 2013-08-02 17:14:38 +02:00
rickdsanchez commented 2013-08-02 01:28:02 +02:00 (Migrated from github.com)

getlocale() always returns (None, None) unless setlocale() is used before. (It is supposed to return the active locale, which is none if not selected).

This bug prevents the automatic switching of the language depending on the locale as a fallback option of English is always used instead.

What is probably meant here is getdefaultlocale(), not getlocale().

Just a little change in 1 line.

getlocale() always returns (None, None) unless setlocale() is used before. (It is supposed to return the active locale, which is none if not selected). This bug prevents the automatic switching of the language depending on the locale as a fallback option of English is always used instead. What is probably meant here is getdefaultlocale(), not getlocale(). Just a little change in 1 line.
Atheros1 commented 2013-08-02 17:14:42 +02:00 (Migrated from github.com)

Thank you

Thank you
This repo is archived. You cannot comment on pull requests.
No description provided.