Files responsible for the appearance of pages and content of (right to left) until commensurate with the Dolphin is consistent with the Arabic language
What are the files ?
Files responsible for the appearance of pages and content of (right to left) until commensurate with the Dolphin is consistent with the Arabic language |
You need Arabic language pack, but it looks like there is no Arabic language available in the marker. I would suggest to try automatic translator, like this one: http://www.boonex.com/m/Multi_Language_Creator Then you need to add dir="rtl" attribute to the html tag in your template file, for example in templates/tmpl_evo/_header.html file: <!DOCTYPE html> <html dir="rtl"> <head> Rules → http://www.boonex.com/terms |
This is a great tip, and will work if the site is uni-lingual . My site is multi-lingual . For Latin based langs I have no problem , how ever for Farsi and Arabic langs I need the site to change direction. Can an "if" or a "case" statement do the Language detection job for choosing the direction of the site based on the language? If yes would you collaborate and show me to right direction as how can I do that. Your help is much appreciated.
You need Arabic language pack, but it looks like there is no Arabic language available in the marker. I would suggest to try automatic translator, like this one: http://www.boonex.com/m/Multi_Language_Creator Then you need to add dir="rtl" attribute to the html tag in your template file, for example in templates/tmpl_evo/_header.html file: <!DOCTYPE html> <html dir="rtl"> <head>
|
you would need to do more then "dir=rtl" there some properties inside the css files that need to change open the templates (css folder) base and evo and inside css files change every "left" to "right" and margin, padding etc. Always remember that the future comes one day at a time. |