h5p / h5p-wordpress-plugin

Adds support for H5P Content in WordPress.
https://wordpress.org/plugins/h5p/
71 stars 74 forks source link

Add Polish translation and Brazilian MO file #92

Closed apienk closed 5 years ago

apienk commented 5 years ago

Automatic update in Poedit returns just 209 strings from the plugin's source code, whereas there are as many as 364 strings in some PO files (e.g., h5p-fr_FR.po). I'm not a gettext pro, don't know what it may be caused by. What's the correct way to get all translatable strings from the plugin's source code?

fnoks commented 5 years ago

It might be you are missing the submodules. Can you check if the following directories exist in the main H5P plugins directory (and that it contains data):

If not, you need to run git submodule update --init --recursive

apienk commented 5 years ago

Thanks, it helped, 365 strings found. The directories existed but apparently were missing some files.

apienk commented 5 years ago

Just a reminder that the pull request is ready to be merged.