fixed the bug with getting the wrong locale #363
No reviewers
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-09#363
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "locale-bug-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Thank you