Loading updated translations needs restarting MuseScore to take effect
Reported version
3.0
Type
Wording/Translation
Frequency
Few
Severity
S4 - Minor
Status
closed
Regression
No
Workaround
No
Project
While switching between languages is possible in master without restarting, updating translations is not
Workaround: after updating language switch language twice
Fix version
3.6.0
Comments
See https://github.com/musescore/MuseScore/pull/7184
Fixed in branch 3.x, commit 31773bd664
_Fix #269740: Retranslate when current language is updated
Previously, when you updated the current language using the Resource Manager, you would only be able to see the updated strings after restarting MuseScore. This was, because the condition to determine whether the current language had been updated was wrong, so the
retranslate
function would not be called. Now, the condition is correct, and the function is correctly called.I also renamed some variables to make the code clearer to understand, and I fixed a problem with the variable
localeName
not being updated on a language switch, which caused that the wrong language appeared at the top of the list in the Resource Manager, and might have caused other problems too._(not in 3.6 RC though)
Automatically closed -- issue fixed for 2 weeks with no activity.