Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • stator86 Friend
    #171157

    I 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 Friend
    #426798

    Hi!
    I do not believe Anion supports RTL. This would have to be customised!
    JA Teline III forward are RTL compatible,
    Thanks!

    jooservices Friend
    #426800

    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

    TomC Moderator
    #426802

    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).

    stator86 Friend
    #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 Friend
    #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 Friend
    #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!

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 4 voices, and was last updated by  Blaine 12 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum