Request for Full Hungarian Translation of H5P

Hi everyone,

We would like to use the H5P plugin fully in Hungarian, including translations for all interactive content types. Does anyone know if a complete Hungarian language file already exists, or if there is a community project working on this?

If anyone has the translation (even partially) and is willing to share, we would really appreciate it!

Thanks in advance for your help!

otacke's picture

I don't think there's a single translation file for Hungarian - but you can change that! Translations of H5P components are created by the community. Here's a quick guide: https://snordian.de/2023/01/16/how-can-i-improve-h5p-translations/

Thank you for the answer! My question is how to translate the H5P tasks/contents themselves, like the Game Map, Memory Game, etc. Since the Loco Translate plugin only includes the translation for the basic H5P interface, so everything is already in Hungarian, but not the tasks/contents themselves.

BV52's picture

Hi Unicourse,

Going to the link that Oliver provided already has the answer to your question.

-BV

Unfortunately, I haven't been able to register on the mentioned site for the past three weeks because it doesn't send the confirmation email. Is there any other simple method by any chance?

otacke's picture

The next simplest method is the lazy way that is described in the article.

Unfortunately, translate-h5p.tk has not been maintained well for a while now. A replacement may be on the horizon though.

Thank you for your help! I found all the scripts on GitHub except for two.

Would you be able to send me the links to the remaining two scripts so I can find them?

  • Find the Hotspot
  • Find Multiple Hotspots

Thank you!

otacke's picture

Those two were developed by people who do not maintain these content types anymore, so you can probably save your time here.

Same for Image Pairing, Image Sequencing, Personality Quiz, IFrameEmbedder and likely Advanced Fill in the Blanks and some smaller others. 

I have created the hu.json file for the Game Map content and uploaded it to public_html/wp-content/uploads/h5p/libraries/H5P.GameMap-1.3/language. However, the Game Map editor itself has not been translated into Hungarian, and the Hungarian translation is not available in the "Text overrides and translations" section either. :/

How can I make the entire editor display in Hungarian?
https://prnt.sc/PNhad02l7Q8f

otacke's picture

H5P does not use the files directly, but copies their contents to the WordPress database when an H5P content type is installed. When you edit/view content, the translations come from the database. You would need to manipulate the respective database table entries.

You'd probably rather want to send the files to the respective content type maintainer who can then include the translation in the next version of the content type.

I would also like to ask how I can completely remove the Iframe Embedder so that instructors can't use it at all?

otacke's picture

You can remove libraries on the library settings page (H5P Content > Libraries) if they are not a hard dependency of either a content or of another library.

Thank you for your help! I would also like to ask if I send these hu.json files to the content creators and they add the translations, will they still only appear at the bottom section, translating only the items in the dropdown menu into Hungarian? Or will the entire editor, including things like "background image," the "add" button, and everything else, be translated into Hungarian?

I’m asking because I don’t fully understand how this works. We want the entire plugin to be in Hungarian, but right now, even the menu where different content types can be selected is still in English, despite translating everything in Loco Translate.

My second question is: where should I send the files? I still can't register on the previously mentioned site, so I don’t know who I should send them to.

otacke's picture

There are different components of H5P that need to be translated, the H5P core in particular for the editor. Sorry, can't go into detail right now, but BV can probably help out.

I’m sending an example of why I don’t understand:

https://prnt.sc/ut6dbG0qYjlZ

It’s clear here as well that there is a Hungarian translation, but nothing happens. Even the dropdown items below are still in English, even though the translation file is correct.

We managed to translate the menu, so now only the content remains. We found their folders in the file manager, but even though we translated all the language-specific JS files in both the regular and H5P editor folders into Hungarian, almost all the text is still in English. It seems the plugin is not recognizing the translations for some reason. Additionally, we found the translatable texts in phpMyAdmin, but the plugin did not recognize those either, so none of the content wants to switch to Hungarian in any way.