Describe the bug
When a Journal uses a locale for languages that are R-to-L read, e.g. ar-IQ, the theme doesn't change the text direction.
To Reproduce
Steps to reproduce the behavior:
Enable ar-IQ or any R-to-L locale
Go to the public interface
Click on the locale that was installed and enabled
See error
Expected behavior
It is expected that all text content changes the reading direction.
Screenshots
Desktop (please complete the following information):
OS: any
Browser : any
Smartphone (please complete the following information):
Device: any
OS: any
Browser : any
Additional context
I've added a workaround in this journal: https://jmlph.net/index.php/jmlph, including an IF/ELSE to inject dir="rtl" class="rtl" in the HTML tag. However, it is required to check every R-to-L language and, maybe, create an array for verification.
Describe the bug When a Journal uses a locale for languages that are R-to-L read, e.g. ar-IQ, the theme doesn't change the text direction.
To Reproduce Steps to reproduce the behavior:
Expected behavior It is expected that all text content changes the reading direction.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context I've added a workaround in this journal: https://jmlph.net/index.php/jmlph, including an IF/ELSE to inject
dir="rtl" class="rtl"
in the HTML tag. However, it is required to check every R-to-L language and, maybe, create an array for verification.