openshot.developers team mailing list archive
-
openshot.developers team
-
Mailing list archive
-
Message #05221
[Bug 650910] Re: Localization does not respect LC_MESSAGES
I guess that code
lc, encoding = locale.getdefaultlocale()
should be replaced with something along the lines
lc = locale.getlocale(locale.LC_MESSAGES)
encoding = locale.getpreferredencoding()
Note that locale.getlocale() should not be called before the process has called locale.setlocale(locale.LC_ALL, "") [which, I think, is true in this case]. If encoding is not needed, the latter call may be obviously dropped.
--
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