Wrong language redirection for Help > Handbook

• Feb 29, 2016 - 05:52
Reported version
2.1
Type
musescore.org
Severity
S4 - Minor
Status
closed
Project

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

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.