LokiCheckout_Rtl
This module adds RTL support to Magento 2. It adds in a
dir="rtl"attribute to the<html>tag.
Thanks to @rbouma for setting this up.
Installation
Install this package via composer:
composer require yireo/magento2-rtl
Next, enable this module:
bin/magento module:enable Yireo_Rtl
Usage
There is no usage of this module. The RTL-support that this module could be picked up by Tailwind 3+ by adding in Tailwind CSS classes like rtl:mr-0 rtl:ml-4 (so, by adding a rtl: prefix). Note that with Loki, you can extend the css_classes of any HTML element in any PHTML template via the XML layout.
Testing
To test this out, we have gone through the following steps:
composer require community-engineering/language-ar_sa- Add in a new Store View "Arab" with locale set to
ar_SA
Current status
Support
For getting support, create an Issue under the following project URL:
https://gitlab.yireo.com/loki-checkout/LokiCheckout_Rtl.git
Module Dependencies
The following dependencies are declared in the module its `etc/module.xml` file:
Magento_Store
Composer details
LokiCheckout_Rtlloki-checkout/magento2-rtl
magento/framework: ^103.0
magento/module-store: ^101.1
php: >=8.2 <8.6
Releases
| 1.0.0 | 27 September 2026 |
Changelog
[1.0.0] - 18 September 2026
- Initial version