Levius Posted February 4, 2014 Share Posted February 4, 2014 Good day, I am currently working on PrestaShop 1.5.6.0 right now. Is it possible to choose language translation based on the domain name? For example: .fr => French co.uk => English.es => Spain Is there a module that I should use? Or is there some procedure that needs to be followed to achieve this? Thanks and sorry if this a common question. Link to comment Share on other sites More sharing options...
vekia Posted February 4, 2014 Share Posted February 4, 2014 it is with geolocation tools, im not expert in cases like that, but @El Patron and his knowledge about that feature will help you, definitely Link to comment Share on other sites More sharing options...
El Patron Posted February 4, 2014 Share Posted February 4, 2014 Hi, are you using multishop define for each domain? Link to comment Share on other sites More sharing options...
Levius Posted February 5, 2014 Author Share Posted February 5, 2014 Hi, I haven't integrated anything yet. I am just trying to figure out how to do this. Is it doable by multishop? Link to comment Share on other sites More sharing options...
El Patron Posted February 5, 2014 Share Posted February 5, 2014 with multishop you can have language by domain. Link to comment Share on other sites More sharing options...
babymaxi Posted February 9, 2014 Share Posted February 9, 2014 Hello, I've just upgraded from PS1.3 to PS1.5.6 With PS1.3 I've used HTACCESS to manage my multilingual / multi doomain store Domain.com would show the content of Domain.com/lang-en/ Domain.fr would show the content of Domain.com/lang-fr/ Domain.de would show the content of Domain.com/lang-de/ The old HTACCESS of PS1.3 was the following and was working great: RewriteRule ^lang-en/?(.*)$ http://www.domain.com/$1 [R=301,L] RewriteRule ^lang-fr/?(.*)$ http://www.domain.fr/$1 [R=301,L] RewriteRule ^lang-de/?(.*)$ http://www.domain.de/$1 [R=301,L] With PS1.5 the structure is different, so the code was modifed. But unfortunately it's not working. When I type domain.fr I get domain.com/fr/ despite having the below code. Any idea where the problem is coming from? RewriteRule ^en/?(.*)$ http://www.domain.com/$1 [R=301,L] RewriteRule ^fr/?(.*)$ http://www.domain.fr/$1 [R=301,L] RewriteRule ^de/?(.*)$ http://www.domain.de/$1 [R=301,L] Thank you, Basil Link to comment Share on other sites More sharing options...
Recommended Posts