LTR TO RTL

60 views
Skip to first unread message

Salman Karim

unread,
Dec 15, 2020, 3:05:48 AM12/15/20
to Easy!Appointments - Support Group
I want to change the direction from LTR to RTL for front-end only and use the project with Arabic language ? I know we need to changes in many places. But please let me know once language select then how we swap English CSS with Arabic CSS file. 

Alex Tselegidis

unread,
Dec 15, 2020, 3:24:38 AM12/15/20
to Easy!Appointments - Support Group
Hello!

I would suggest you to add an additional css file to the app and perform the required rtl changes, as there's no separate english css file. 







  Alex Tselegidis, Easy!Appointments Creator
  Need a customization? Contact me in person!

Salman Karim

unread,
Dec 15, 2020, 3:29:04 AM12/15/20
to Easy!Appointments - Support Group
Hi,

Thanks for quick response.

Yes i have the same plan to do but the basic issue is that How the Arabic CSS file will be selected if we change language from English to Arabic. I think we need to some change in java scripting file. But if you help me in this matter it will help a lot of people.

Alex Tselegidis

unread,
Dec 16, 2020, 5:46:32 PM12/16/20
to Easy!Appointments - Support Group
You could add a check to a view file just like in the example: 

<?php if (config('language') === 'arabic'): ?>
  <link href="<?= asset_url('url/to/rtl.css') ?>" rel="stylesheet" />
<?php endif ?>







  Alex Tselegidis, Easy!Appointments Creator
  Need a customization? Contact me in person!



Salman Karim

unread,
Dec 17, 2020, 4:22:35 AM12/17/20
to Easy!Appointments - Support Group
Thanks. will update you once done.

Moti Elkayam

unread,
Aug 29, 2025, 2:34:41 AMAug 29
to Easy!Appointments - Support Group
Dear Salman,
I am also interested in the RTL support.
Did you perform it successfully?
Thanks,
Moti.

Reply all
Reply to author
Forward
0 new messages