openshot.developers team mailing list archive
-
openshot.developers team
-
Mailing list archive
-
Message #05288
[Bug 650910] Re: Localization does not respect LC_MESSAGES
>I'm living in Finland and my mother tongue is Finnish. However, I prefer
English for the UI to better match UI of all the programs I use (some
programs do not have Finnish localizations or the localizations are not
high quality enough for my taste).
Okay so i understand better the result of your locale.
>The problem I'm reporting is that with my locale settings, OpenShot is
using Finnish translations for some of it's strings despite the fact
that I'm requesting English messages (see LC_MESSAGES environment
variable). I guess it's incorrectly using one of the following
environment variables to set the localization language for messages:
LC_CTYPE, LC_COLLATE, LC_MONETARY, LC_PAPER, LC_NAME, LC_ADDRESS,
LC_TELEPHONE, LC_MEASUREMENT. None of these should change the UI
language.
Have you try to change your default setting (just to see) for your locale and see if all is translate in Openshot ? It will be helpful to know if it is a " general" bug or a "particular" bug link to you locale preferences.
I am agree with you about the method getprefereencoding should be better for your case that the method getdefaultlocale. It will change automaticaly the locale in the locale by default i.e. English.
More explanation here :
http://docs.python.org/library/gettext.html
http://docs.python.org/library/locale.html
Have you try to modified the lc, encoding = locale.getdefaultlocale() by lc, encoding = locale.getpreferredencoding()
Just another thought.
--
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