Serious bug in interface translation in lates versions?

papi Jo's picture

Not sure where to post this, but trying this Translation forum.

Just noticed what seems to be a serious bug (regression): the H5P content editor no longer translates its editing interface into the user's current language. Same bug happens on the 3 platforms: Moodle, Drupal & Wordpress.

I am illustrating the problem with screenshots taken from my Moodle test sites, one using H5P version tag 1.14, the other using latest 1.16 version. The current language (in Moodle) is set to French. Apart from the "usual mish-mash" of mixed translated/un-translated strings, it is quite clear that something has gone wrong with the H5P latest version. Translations OK (in green) NOT OK (in red).

Before I realized this bug was present in all 3 platforms, I posted a bug report on the Drupal site here: https://www.drupal.org/project/h5p/issues/3038840

Maybe this bug is related to the recent new features of offering a "language" drop-down list in the Text overrides and translations part of the editor?

Please consider this as a serious bug and provide a quick fix. Thanks!

Summary: 
language bug in latest versions
papi Jo's picture

Thanks for super fast bug fix, H5P team! Bug fixed in following versions:

  • Drupal version 8.x-1.0-rc14
  • WordPress version 1.13.1
  • Moodle version 2019031300 Release 1.17.1
BV52's picture

Hi Papi Jo,

Thank you for reporting and confirming the fix.

-BV52

papi Jo's picture

I rejoiced too soon. The language detection bug has indeed been fixed in the latest releases for WordPress and Moodle, but not for Drupal 8.

I have re-opened the bug issue report on the Drupal site here: https://www.drupal.org/project/h5p/issues/3038840#comment-13025030

papi Jo's picture

Upon further testing in Drupal 8, I confirm here that the language settings for H5P activities does work as expected.

It so happens that the language detection feature of Drupal 8 is fairly complicated, and the user/admin needs to carefully set the Interface text language detection!

Hi,

We seem to be struggling with the same issue, only with Greek language now showing instead of the default English language set in WordPress.

We are on WordPress version 5.3.2, and H5P plugin version 1.15.0, yet we are still seeing this issue.
One point worth mentioning is that we are also using WPML (WordPress Multilungual plugin), which we use to provide Polish, Latvian, Greek, and Italian site translations, however WPML is also set to English by default (it overrides WordPress' default language, which is set as English too).

I have uploaded an example of the Greek language appearing in the H5P editor.

Any info, temp fixes, or updates on this would be greatly appreciated.

Many thaks,
Alex.