IIntegrationobject (to make sure the language is also used in iframes).
H5PEditor(case 3, 5 and 6) and add the required
H5PEditor.contentLanguageproperty like this to localize the libraries when the editor is initialized :
languageOverrideparameter, it is best to use a language detector, which makes sure the req.t method uses the required target language. The easiest way is to implement your own language detector in i18next as explained in their documentation. Initialize i18next with this detector (which can also simply return a hard-coded language if you want to only support one), and the Express adapter will translate to this language.
/packages/h5p-server/assets/translations/. In there, each namespace (group of language strings) has it own directory, which in turn contains the language files, which are named like this