Visiedo Posted January 10, 2013 Share Posted January 10, 2013 Hi, is there a way to configure Prestashop to automatically select the shop language based on the browser locale? Cheers /Javier Link to comment Share on other sites More sharing options...
Supremacy2k Posted January 10, 2013 Share Posted January 10, 2013 quickest way to see if prestashop already have a variable for that, is throw in a {debug} in your header file, and start going it over. If not, you might look into some javascript of some sort. Link to comment Share on other sites More sharing options...
Visiedo Posted January 10, 2013 Author Share Posted January 10, 2013 quickest way to see if prestashop already have a variable for that, is throw in a {debug} in your header file Do you mean in the header.tpl? Excuse my ignorance but, could you please indicate how could I make use of that {debug} tag? Link to comment Share on other sites More sharing options...
Supremacy2k Posted January 10, 2013 Share Posted January 10, 2013 the {debug} tag opens a new window, and lists all variables it can access. that way you can check if it can see browser locale. Link to comment Share on other sites More sharing options...
El Patron Posted October 24, 2013 Share Posted October 24, 2013 this post will help http://www.prestashop.com/forums/topic/232417-automatic-language-detection/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now