Wrong language redirection for Help > Handbook
The Help > Handbook menu opens browser to https://musescore.org/redirect/help?tag=handbook&locale=%1 with %1 the locale. In France, french for example the locale is fr_FR
, and users are redirected to the english handbook. Only fr
redirects to the french handbook but that will not happen often.
Reported here https://musescore.org/fr/node/99851
Comments
Thx for reporting
I created a pull request
https://github.com/musescore/MuseScore/pull/2417/files
The PR will cut the languages to the keep only the first part of fr_FR and put this in the URL.
Note that the fix will also change the behavior of all url in MuseScore (startcenter, contextual help, etc...) and also the resource manager. Not sure we want this.
I guess it's better to solve this on the server side. Thomas?
Yes, this needs to be fixed on the server side.
For languages like zh_Hans, zh_Hant, pt_BR, ... we need the full language code and not just the first part.
I have the suspicion that this is related to #64391: Add "Frame" Handbook page to online help for frame (vbox or hbox)
Fixed.
This is still a problem. On a french system, if the language is "System", the URL for the handbook is
"https://musescore.org/redirect/help?tag=handbook&locale=fr_FR" and it will redirect to the english handbook, not the french one.
Same with https://musescore.org/redirect/help?tag=handbook&locale=de_DE. Another unexpected thing with yesterday's JS update?
This is fixed now.
Automatically closed -- issue fixed for 2 weeks with no activity.