Contributing translation documentation

mitja's picture

As a Moodle language pack maintainer I've prepared the following instructions for adding them to https://h5p.org/contributing#translating

Translations for Moodle plugin can be added or edited using lang.moodle.org. Read the documentation to help you started. Select the component named 'hvp' (numbers aren't allowed in Moodle plugin name).

If you prefer to translate using a CAT tool you can convert the original mvp.php file from GitHub to PO using Translate Toolkit. After finishing with the translation use Translate Toolkit to convert the file back to PHP.

The translated mvp.php file can then be imported into lang.moodle.org, submitted in the form of a "Pull Request" on GitHub or posted on Translation contributions forum.

tim's picture

Excellent work mitja, I've added it to the documentation! I'm sure it will help a lot of people :)

mitja's picture

Glad to help. It would be nice to also add the links though.

tim's picture

Thanks for catching that! The links have now been added as well.