grandzorglub Posted March 13, 2013 Share Posted March 13, 2013 Bonjour la communauté Prestashop! (c'est mon premier post!) Voilà, je voudrais que mon site se charge dans la langue de l'utilisateur et j'ai beau chercher, je ne trouve pas comment... Pour l'instant, si je règle la langue par défaut en anglais, le site sera toujours en anglais même si mon firefox est en français. Même chose si la langue par défaut est le français : il s'affichera toujours en français. Si j'ai bien compris au cours de mes recherches, Prestashop affiche par défaut la langue selon l'ip du visiteur, ce qui ne me convient pas du tout vu qu'au Canada il y a deux langues officielles. Ce serait beaucoup plus pratique s'il affichait le site selon la langue du browser... mais je ne trouve pas comment faire... et selon certains post que j'ai vu, ce serait possible mais je ne comprend rien à leurs méthode. ex. : https://github.com/PrestaShop/PrestaShop/pull/176 Je suis sur Prestashop 1.5.3 que je viens juste d'installer. Le français et l'anglais sont activés. Merci! Link to comment Share on other sites More sharing options...
grandzorglub Posted March 20, 2013 Author Share Posted March 20, 2013 J'ai trouvé! J'ai posté la solution ici : http://www.prestashop.com/forums/topic/232417-automatic-language-detection/page__p__1143036#entry1143036 Jusqu'à maintenant, ça semble très bien marcher. Le post original pour cette solution est ici : https://github.com/PrestaShop/PrestaShop/pull/178 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