Comment to 'Set site and language to RTL '
  • Exploring Option A) Studio - Polyglot

    Cant we just set direction by using studio's polyglot? 

    and code direction rtl (to change into arabic script) in the translation box for russian language. 

    This way we could just use the russian polyglot and input the rtl code in the translation box for each component. (assuming its possible) If so please provide the appropriate syntax. whatever I tried didnt work. 

    Exploring Option B) Creating RTL CSS

    There is so much fragmented comment about this in this discussion and I thought it would be wise to ask one of the experts to wrap up the discussion relating to this matter by making a post with clear instructions and specifications regarding 1)the content of the rtl.css file 2)the exact location of where it needs to be placed in the una folder 3) all the additional changes required to other files (such as common.css or anything else). 

    1) rtl content: 

    Do I just create a .css file from notepad with the following content?:

    bx-main.rtl {
        direction: rtl;
    }

    For a multilingual site what else do I have to add? I dont want to to be rtl when the site language is english but when its arabic I will need it to be rtl. So please also advise on where to add the switch for changing from rtl to ltr and vice versa.


    2)Is this were we have to place the css file in the una folder? (where common , favorite, and others are?)

    /public_html/template/css

    3) What are the required changes to common and other css?

    Whoever decides to respond to either one of these please provide complete instructions (more than what I need) so any elementary user would be able to take care of this problem by reviewing the single post.  

    Afterwards it is also advisable to delete all the previous posts and to keep the final post.