Jump to content

RTL Language Support Of Backoffice And Frontoffice in presta 1.5


Recommended Posts

hi .

 

me and some friends in persian prestashop forum (presta-shop.ir) are supporting presta.

 

 

here is a solution(Not By me) that can bring support for RTL language support for both backoffice and frontoffice

 

 

(Now is Available in Presta 1.4 By Presta-shop.ir )

 

For frontoffice

 

In theme folder

 

in css folder

 

main-css-folder

css files

RTL Folder(css file for rtl language)

Modules

(inside every folder for module - 2 file s - one (modulename.css) and another (modulename_rtl.css))

 

 

same For JS folder

 

 

 

 

For Bakcoffice (admin.css and admin_rtl.css inside theme of backoffice)

 

(admin.css and admin_rtl.css inside folder admin (Not in Theme of backoffice))

(Module.css and Module_rtl.css)

 

unfortunately for backoffice Theme there are servel inline style in php file (Most for Float Attribute)

and for this problem in php file we must check is language is RTL OR LTR and then apply Style

 

 

in this solution theme developers can develope theme only for LTR (RTL feature is optional based on existence corresponding files)

 

 

 

Tnx

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Did you guys manage to make RTL with fixes to different Background header pictures throughout the Theme and when the user switches to LTR it goes back?

 

I am working for a long time now trying to make a full functional and fixed RTL prestashop, but there are things that you need to screw with to get a good RTL, and many functions are available for the WHOLE theme, and not just for the RTL language.

 

This means, when I change those things, the screw-ups are fixed in the RTL language, but will be screwed up in the LTR language,

this makes it impossible to switch between languages on the shop. And it has to be One Language Only!

 

So frustrating.

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
×
×
  • Create New...