Issue #3548236: H5P Editor fails to use chosen language for global editor text
Problem
The H5P editor fails to use your chosen language and defaults to the site's default language. This was introduce recently when moving the vendored assets out of the H5P Drupal module.
Changes
Closes #3548236
Test
-
Enable Locale module -
Navigate to /admin/config/regional/language and add French as another language. This assumes your sites default language is something other than French. -
Navigate to /admin/structure/block and add the Language Switcher block to the header or footer -
Use the language switcher to set your language to French -
Add / edit an H5P item -
Confirm that H5P Editor Title field (and other non-library-specific strings) have been translated to French.