I’m trying to add Arabic “RTL” language support for my site which implemented using TYPO3 CMS the problem is that the available references shows how to support multi language with the same CSS but what I want to know is how to put two different CSS “RTL” and “LTR” one for English and the other for Arabic.
I’m trying to add Arabic RTL language support for my site which implemented using
Share
How do you decide, whether RTL or LTR styles have to be applied? Based on the language? I just know that there is a config.htmlTag_dir property, which enables you to set the dir attribute of the <html> tag.
You should be able to use a TypoScript condition executing a user function (userFunc, see TSref), inside which you add the specific style sheets using page.includeCSS.