RTL support

To insert RTL text appropriately you can use this directive

[rtl]your text[/rtl]

This is great :)

[rtl]شكرا جزيلا mdomba على الملحوظة الهامة :)[/rtl]

thankx for this note but also we can change the layout direction from left to right using dir=rtl

under the folder protected / views / layout / main.php

change the code in the top to

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ar" lang="ar" dir="rtl">


mdomba’s post is about rtl in this forum.

هذا النص بدون rtl

[rtl]هذا النص باستخدام rtl[/rtl]

نعم وانا تسرعت فى الاجابه على شىء اخر شكرا على التوضيح

[rtl]لا عليك. أردت فقط أن أوضح ذلك.[/rtl]

Yes, I think the gist of it is that you add dir="rtl" to main.php in layouts

I have a full working application that’s completely in Arabic with menu’s …renderpartials etc…

visit omartech’s github and look at AjmanLandProperty repo. Feel free to fork and use it to your advantage.

How can i make the menu from left to right?

This topic is about posting RTL text in this forum, it’s not about handling RTL within framework. Please create separate topic if you want to ask about it. Thanks.