RTL support


(Maurizio Domba Cerin) #1

To insert RTL text appropriately you can use this directive


[rtl]your text[/rtl]


(M Alsemany) #2

This is great :)

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


(Xxsherif82) #3

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">

<head>


(Abennouna) #4

mdomba’s post is about rtl in this forum.

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

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


(Xxsherif82) #5

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


(Abennouna) #6

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


(Omar Technologies) #7

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.


(Translationcompanyindubai) #8

How can i make the menu from left to right?


(Alexander Makarov) #9

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.