Jump to content

"RTL" Languges


Recommended Posts

Hi yulises,

 

I don't understand your issue, could you post a screenshot?

 

--

Edit :

 

RTL = "right-to-left"  :D :D

 

According to manolito on the Mambo forum (thanks!), you should try this:

 

- Encoding, I choose "Arabic (Windows-1256)

- Edit HTML templates : <div dir="rtl" align="right">.

 

Original post is here: http://forum.mamboserver.com/showthread.php?t=35582

---

 

Thanks

Link to comment
Share on other sites

  • 2 weeks later...

Hello and thanks,

 

I know about that option as well in oscommerce, but my question is , do you know where should I

define the rtl <div align="rtl"> , I tried in few places and it not working

 

Thanks

 

Nimrod

Link to comment
Share on other sites

Thanks

I will wait for that .

 

where do I translate the  "  Welcome , Log In , Your acount cart (empty) - on  the top right of the template ?

and one more : " site map" , "contact" ,"bookmark this page "on the bottom left .

 

Regards,

 

Nimrod

Link to comment
Share on other sites

  • 4 months later...
Hello and thanks,

 

I know about that option as well in oscommerce, but my question is , do you know where should I

define the rtl <div align="rtl"> , I tried in few places and it not working

 

Thanks

 

Nimrod



Hello

Like you, I needed to have an RTL language in my shop. I took a look inside the php and tpl files. I'm almost sure that simply putting a single global rtl tag can not solve the problem. Instead, we should place lots of them in suitable places because even for an RTL language, some page elements should be aligned to right or center of the page.
I give an example how I could solve the problem for product listings. You can extend the example to every other part of the shop.

You can make the list of products RTL by changing /themes/prestashop/product-list.tpl file. find this line:


and change it into:



If you want to enable both RTL and LTR languages in your site, the correct approach is to make the above change conditional. As an example, I use English and Persian languages in my shop. The below code imposes rtl tag only for Persian language whose ISO code is ir:



Regards
Hamid Fadishei




Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...