Support for RTL languages
-
I need H5P content that is in Hebrew, which uses RTL. Can you tell me what the status of RTL support is for this plugin?
I see on this commit for the moodle plugin that they have made several changes to support RTL.
I have made a local change to h5p-php-library/embed.php to add the dir=”rtl” attribute which is necessary. I suggest you update core:
<html lang="<?php print $lang; ?>" <?= ($lang == 'he' || $lang == 'ar') ? 'dir="rtl"':''; ?> class="h5p-iframe">
- The topic ‘Support for RTL languages’ is closed to new replies.