6
I tried the whole day messing up with $xoops_langcode , but the #OOPS# thing doesnt want to work (probably cuz i had everything in PHP rather than embedded php in HTML), i didn't try your method, but i am sure it will work.
My major problem is the RTL really, in the past, i used to do the whole thing on my own, create a StyleRTL.css file, and mirror most images, and use one theme.html file with [en][/en] [ar][/ar] tags in it to specify the content and the CSS file names, but i noticed its a lot of work, what i am doing now, is getting one theme from the arabic XOOPS support site (arabxoops.org) and getting its english counterpart, putting them into two different folders, and using the code i put above in the header.php to use the different theme for each language (I find that to take a tremendously lesser amount of time compared to my method above of editing the whole #OOPS# Style.css).
Do you have any easier method ? please enlighten me .