create french json file

Hi. There is no file fr.json for speak-the-words. Can I just translate en.json in French? How many time it's necessary to refresh h5p and make new translation available?

Regards

Serg

BV52's picture

Hi Serg,

If a language folder doesn't exist yet it has to be added either by one of the core team or by a pull request from someone in the community. Since I can't predict exactly when the folder will be added, so I recommend installing a tool called the H5P command line interface which will allow you to generate language files from the semantics.json file:

https://h5p.org/h5p-cli-guide

-BV52

There is a  language folder and single en.json file already. Can I just translate it? Could you add the file from Attachment in this forum? How many time it's necessary to refresh h5p and make new translation available?

Regards

Serg

tim's picture

Hi Serg, you're correct. You'll have to create a new fr.json based on .en.json. It should suffice to translate .en.json just like the other languages. 

After you've done that you'll have to make a pull request to Github. I reccomend reading up on how to do that here:
https://help.github.com/articles/creating-a-pull-request/

It's a bit technical but once you get the concept I assure you it's quite easy.

Best regards,

Tim