Musescore does not honour locale settings
Greetings!
My locale settings are as follows:
LANG=sv_SE.UTF-8
LANGUAGE=
LC_CTYPE=sv_SE.UTF-8
LC_NUMERIC=sv_SE.UTF-8
LC_TIME=sv_SE.UTF-8
LC_COLLATE=sv_SE.UTF-8
LC_MONETARY=sv_SE.UTF-8
LC_MESSAGES=en_GB.UTF-8
LC_PAPER=sv_SE.UTF-8
LC_NAME=sv_SE.UTF-8
LC_ADDRESS=sv_SE.UTF-8
LC_TELEPHONE=sv_SE.UTF-8
LC_MEASUREMENT=sv_SE.UTF-8
LC_IDENTIFICATION=sv_SE.UTF-8
LC_ALL=
According to convention, everything (paper format, numeric conventions, time format, etc) should now conform to Swedish norm, except the language of dialogue as this is dictated by LC_MESSAGES. Every piece of software on my machine honours this and works as expected, except for Musescore.
Musescore bases its dialogue language on the variable LC_NUMERIC, it seems. I tried setting this variable to en_GB.UTF-8, and Musescore changed its dialogue.
The workaround is of course to set the language manually, but Musescore shouldn't behave like this. Correct behaviour is to look for LC_MESSAGES and LANG, in that order.
Comments
Which version of MuseScore are you using? On which OS? Can you get the version of Qt used by MuseScore on your install (Help -> About Qt).
MuseScore doesn't rely directly on these variables but on Qt QLocale class. If there is a bug in QLocale, we should report it to the Qt project.
In reply to Which version of MuseScore by [DELETED] 5
Ah, sorry. It's MuseScore 1.2 and Qt version 4.8.3.