Jump to content

Problem with Inline theme translations and Multistore prestashop.


Recommended Posts

Hi PS community,

 

I have a problem on my 1.6.0.5 prestashop install.

 

Situation : Multistore installation with multiple languages. Default store being Fr, another being Uk, and others being Us.

 

My first problem is that depending on which store I am :

  • The text requested from database (ex. Title of product, etc) is OK
  • The text from inline smarty template translation of module's templates is OK (ex. blockcart.tpl displays "Panier" instead of "Cart" when in french)
  • The text from inline smarty template translation of theme's templates is wrong (ex : "data sheet" or "more info" headings from product.tpl do not display in French).

I tried a lot of things, from logical to tactical to brutal parameters (remove ALL caching, disable all languages but French, etc.) for the past 8 hours.

 

Cannot make it work.

Has anyone an idea about my inline smarty template translations not working ONLY on theme's templates ?

 

I have another problem (less important) : if my first visit is on the uk store before moving to the fr store, the fr store displays in uk.

{$lang_iso} returns 'uk'.

The language is stored in a cookie and it plays wierdly with the multistore install.

I have found some nice info on this thread : https://www.prestashop.com/forums/topic/67908-default-language-not-always-the-same/

Long story short : it uses an apache .htaccess fix, but when I try it I get a 500.

I played a bit with my Apache config (headers mod was already installed, etc.) but I feel more confortable with this second bug, I think I will find a solution (but if you have a word to say about this, my ears are wide open).

 

Thanks a lot for reading ! :)

 

Share this post


Link to post
Share on other sites
  • 1 year 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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More