-
AuthorPosts
-
stator86 Friend
stator86
- Join date:
- September 2011
- Posts:
- 77
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
November 27, 2011 at 11:44 pm #171157I want to make English & Arabic website.
I want to use:
For English Language: left-main-right layout & LTR direction.
For Arabic Language: right-main-left layout & RTL direction.
How can I do this?
Do I have to make 2 different Joomla installations ?
Blaine FriendBlaine
- Join date:
- August 2007
- Posts:
- 1443
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 98
- Thanked:
- 177 times in 154 posts
November 28, 2011 at 3:39 am #426798Hi!
I do not believe Anion supports RTL. This would have to be customised!
JA Teline III forward are RTL compatible,
Thanks!jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 28, 2011 at 3:43 am #426800Hi
There are some solutions for you:
#1. Different Joomla! as you said.
#2. Install 2 templates ( you can use one template but need rename for second installation )
– Need a bit code to check if we are in language A -> will use template A and B for B.
– In each template you will need config for LMR or RML 🙂Thank you
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
November 28, 2011 at 3:47 am #426802RTL or LTR is defined in the language xml, for example: en-GB.xml -> <rtl>0</rtl> (which means RTL = no)
For RTL template you should also edit CSS
In the css file(s), do the following global search and replace:
* replace “left” with “rigxht”
* replace “right” with “left”
* replace “rigxht” with “right”* you may have to do some right/left replacing in the index.php file too, especially to correct module location since the ones on the right will show up on the left (an easy fix there is to modify the index.php file by caling the right module left and the left module right).
stator86 Friendstator86
- Join date:
- September 2011
- Posts:
- 77
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
November 28, 2011 at 9:41 am #426887<em>@Blaine 285442 wrote:</em><blockquote>Hi!
I do not believe Anion supports RTL. This would have to be customised!
JA Teline III forward are RTL compatible,
Thanks!</blockquote>Actually the 1.7 version supports RTL
<em>@jooservices 285445 wrote:</em><blockquote>Hi
There are some solutions for you:
#1. Different Joomla! as you said.
#2. Install 2 templates ( you can use one template but need rename for second installation )
– Need a bit code to check if we are in language A -> will use template A and B for B.
– In each template you will need config for LMR or RML 🙂Thank you</blockquote>
Thanks jooservices for your reply.
<em>@TomC 285447 wrote:</em><blockquote>RTL or LTR is defined in the language xml, for example: en-GB.xml -> <rtl>0</rtl> (which means RTL = no)
For RTL template you should also edit CSS
In the css file(s), do the following global search and replace:
* replace “left” with “rigxht”
* replace “right” with “left”
* replace “rigxht” with “right”* you may have to do some right/left replacing in the index.php file too, especially to correct module location since the ones on the right will show up on the left (an easy fix there is to modify the index.php file by caling the right module left and the left module right).</blockquote>
Thanks TomC very much
– Could you please give me more details ?
– Is there any tutorials about installing 2 language & how to switch between them, then assign different layouts according to language. Sorry me I’m still newbie.jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 29, 2011 at 6:28 am #427058<em>@TomC 285447 wrote:</em><blockquote>RTL or LTR is defined in the language xml, for example: en-GB.xml -> <rtl>0</rtl> (which means RTL = no)
For RTL template you should also edit CSS
In the css file(s), do the following global search and replace:
* replace “left” with “rigxht”
* replace “right” with “left”
* replace “rigxht” with “right”* you may have to do some right/left replacing in the index.php file too, especially to correct module location since the ones on the right will show up on the left (an easy fix there is to modify the index.php file by caling the right module left and the left module right).</blockquote>
Please consider.
#1 For RTL not only text-align or float only it also have some more code of css
#2 And by mass replace as above you could replace with some mistake in css. Not all attribute need change left / right.Blaine FriendBlaine
- Join date:
- August 2007
- Posts:
- 1443
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 98
- Thanked:
- 177 times in 154 posts
November 30, 2011 at 5:00 pm #427351<em>@stator86 285546 wrote:</em><blockquote>Actually the 1.7 version supports RTL </blockquote>
Yes, as I said JA Teline III forward are RTL compatible, and wasn’t sure the version used as it was not stated.
Glad you are getting so much great help!1 user says Thank You to Blaine for this useful post
-
AuthorPosts
This topic contains 7 replies, has 4 voices, and was last updated by Blaine 13 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum