h5p-branching-scenario
h5p-branching-scenario copied to clipboard
Strings Shifted in French Localization?
https://github.com/h5p/h5p-branching-scenario/blob/88d4801de42383fea747b4f81e5f40e64447bb65/language/fr.json#L166
The text "Replay the video" appears in the field for Text for the button on each of the library screens
. The subsequent fields also appear off (Text for the button used to replay a video
has "Your score:", etc.).
Chances are that something goes wrong in the way this fr.json
file is used. Is the reference through line numbers?
Other JSON-based localization files use a format like:
"BTN_MENU": "Aller au menu",
@Enkerli You can e.g. use https://www.diffchecker.com/ to compare the English template and the French translation. Some values seem to have slipped in the wrong spot, yes.
I can only recommend to use https://translate-h5p.tk/ that's more convenient to translate H5P libraries with and less prone to errors.
Some values seem to have slipped in the wrong spot, yes.
Thanks for checking! If it happens again, I'll diff.
I can only recommend to use https://translate-h5p.tk/ that's more convenient to translate H5P libraries with and less prone to errors.
Excellent! While I'm not a professional translator, I'll do my best to help, if I find the time.
In the Italian translation the value set in Translations for "Text for the button used to replay a video" field is shown in forms instead of the "Text for the button on each of the library screens". I confirmed that it is the content of the "Text for the button used to replay a video" indeed, since, after changing it, the correction propagates to the forms.