h5p-branching-scenario icon indicating copy to clipboard operation
h5p-branching-scenario copied to clipboard

Strings Shifted in French Localization?

Open Enkerli opened this issue 3 years ago • 3 comments

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.).

image

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 avatar Oct 04 '21 19:10 Enkerli

@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.

otacke avatar Oct 04 '21 19:10 otacke

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.

Enkerli avatar Oct 05 '21 12:10 Enkerli

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.

pamodeo-icb avatar Oct 12 '21 15:10 pamodeo-icb