I'm currently building another demo site to show off Composite C1's capabilities to my university colleagues (they're giving me a second chance). Given that we recruit many students from the Middle East, I'd like to show them a sample version of our own website written in Arabic.
Does anyone here have any experience in running multilingual versions of their site with Composite and coding for both left-to-right (LTR) and right-to-left (RTL) languages?
I've already added a new language (AR) to Composite, created new .ar.resx files and translated some pages using Google.
The first problem I've encountered is that while the C1 Visual Editor displays text in RTL, the website itself doesn't. Composite isn't adding the dir="rtl" attribute to the <html> tag for the ~/ar/ pages. Do I need to create a function to do this, or is there something I'm missing in C1's configuration?
Secondly, are there any tricks in C1 to getting Bootstrap to re-arrange grid layouts to RTL for ~/ar/ page, either by requesting a different CSS file, or using JavaScript to to manipulate the DOM?
Any help or advice will be gratefully received.
Does anyone here have any experience in running multilingual versions of their site with Composite and coding for both left-to-right (LTR) and right-to-left (RTL) languages?
I've already added a new language (AR) to Composite, created new .ar.resx files and translated some pages using Google.
The first problem I've encountered is that while the C1 Visual Editor displays text in RTL, the website itself doesn't. Composite isn't adding the dir="rtl" attribute to the <html> tag for the ~/ar/ pages. Do I need to create a function to do this, or is there something I'm missing in C1's configuration?
Secondly, are there any tricks in C1 to getting Bootstrap to re-arrange grid layouts to RTL for ~/ar/ page, either by requesting a different CSS file, or using JavaScript to to manipulate the DOM?
Any help or advice will be gratefully received.