EscolaLMS/H5P

there should be transaltions for content

Closed this issue · 1 comments

scenario

  1. launch demo https://github.com/EscolaLMS/h5p-laravel-demo
  2. change languge to PL
  3. editor and each content should be in polish (this is not reactive change, you might need to refresh browser after change)

This might be good starting point https://github.com/EscolaLMS/H5P/blob/main/src/Services/HeadlessH5PService.php#L383

How this should work

All of this is taken from API

Screenshot 2022-07-25 at 16 38 31

Screenshot 2022-07-25 at 16 37 48

Screenshot 2022-07-25 at 16 36 59

those language are available for most of the packages, eg https://github.com/h5p/h5p-interactive-video/blob/master/language/pl.json