← Back to team overview

openshot.developers team mailing list archive

[Bug 650910] Re: Localization does not respect LC_MESSAGES

 

Python issue 813449 (locale.getdefaultlocale doesnt handle all locales gracefully) seems relevant
http://bugs.python.org/issue813449 (duplicate of http://bugs.python.org/issue504219)

According to it, "getdefaultlocale should not be used in new code." "If the intention is to compute the locale's encoding,
locale.getpreferredencoding should be used instead." Note that the getpreferredencoding() does not return locale setting, only the encoding.


** Bug watch added: Python Roundup #813449
   http://bugs.python.org/issue813449

** Bug watch added: Python Roundup #504219
   http://bugs.python.org/issue504219

-- 
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/650910

Title:
  Localization does not respect LC_MESSAGES

Status in OpenShot Video Editor:
  New

Bug description:
  Openshot Video Editor incorrectly uses Finnish user interface localization in following environment:

LC_ADDRESS=fi_FI.UTF-8
LC_COLLATE=fi_FI.UTF-8
LC_CTYPE=fi_FI.UTF-8
LC_MEASUREMENT=fi_FI.UTF-8
LC_MESSAGES=en_DK.UTF-8
LC_MONETARY=fi_FI.UTF-8
LC_NAME=fi_FI.UTF-8
LC_NUMERIC=en_DK.UTF-8
LC_PAPER=fi_FI.UTF-8
LC_TELEPHONE=fi_FI.UTF-8
LC_TIME=en_DK.UTF-8

As far as I know, LC_MESSAGES should specify user interface text language.





References