OSCOMMERCE SUPPORT CALL 702-453-3332

 

Help - Search - Members - Calendar
Full Version: Problem with the website design when the language is in arabic
osCommerce Community Support Forums > osCommerce Online Merchant v2.x > Contributions / Add-Ons > Templates and Images
reko
Hi,

I have a problem with my webite design, it looks perfect when it is in english but in arabic it looks so bad because of the right column , it should be in the left when i choose the arabic language not in the right as in the english language and the quick find box also looks too bad

THis is the url of the website in English
http://ex2.drbeautycompany.com/index.php?language=en

This is the url in the Arabic language
http://ex2.drbeautycompany.com/index.php?language=Ar

How to edit the design in the arabic section only? i do not want to edit the stylesheet because it will change the design in the english section also

I think the problem appears because the arabic language is from right to left not from left to right

Thanks
Liquid Snake
Hi Reko

go to catalog/include/language/arabic.php

you'll find:
define('HTML_PARAMS','dir="rtl" lang="ar"');

(dir="rtl") means Right-To-Left

change it to:
define('HTML_PARAMS','dir="ltr" lang="ar"');

hope that would help
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.