bambi Posted February 22, 2009 Share Posted February 22, 2009 Hi,HELP!!! how can I get the currency & language to automatically change according to the IP address of the customer entering teh shop???ThanX in advanceDan Link to comment Share on other sites More sharing options...
TropischBruin Posted February 22, 2009 Share Posted February 22, 2009 Why do you want that as it makes no cence. Link to comment Share on other sites More sharing options...
Damien Metzger Posted February 22, 2009 Share Posted February 22, 2009 Databases for geolocation according to the IP address take at least 25mo, so I hope you've got a good MySQL server Link to comment Share on other sites More sharing options...
bambi Posted February 23, 2009 Author Share Posted February 23, 2009 Wawooo fast relpies. I have a shop in Denmark and sell to Swedish and Norwegen customers. When they enter the shop they need to change language and currency and that may scare them away. There is a web service that recognises IP address and returns a contry code. If possible according to the country code the langaue and the currency will adjust automaticaly. Hope this explanation is more accurate.ThanX so much Link to comment Share on other sites More sharing options...
TropischBruin Posted February 23, 2009 Share Posted February 23, 2009 I've set up such a website once and many of the visitors compained about this setup.I changed it to the following setup:A better way of doing so is using the language of the browser/pc from your visitors.This would mean that you need 4 languages instead because visitors from these 3 country's using an English OS/Browser would get the English language and would only have to choose their own currency. Link to comment Share on other sites More sharing options...
Guest Posted February 23, 2009 Share Posted February 23, 2009 Databases for geolocation according to the IP address take at least 25mo, so I hope you've got a good MySQL server Not a problem here, if you have any solution, I'm your man. Link to comment Share on other sites More sharing options...
bambi Posted February 23, 2009 Author Share Posted February 23, 2009 Thank you TropischBruin for your comments. Could you please explain / send codes, so my webshop will have the fetures you described. Custommers entering a page with a language they can not read and a currency that is not thiers will most probably click away. Apreiciate your effortsDan Link to comment Share on other sites More sharing options...
TropischBruin Posted February 23, 2009 Share Posted February 23, 2009 Thank you TropischBruin for your comments. Could you please explain / send codes, so my webshop will have the fetures you described. Custommers entering a page with a language they can not read and a currency that is not thiers will most probably click away. Apreiciate your effortsDan The shop I used it for was based on osCommerce.osCommerce has already an language-based header setup which can display the shop in the language of the browser or the default shop language if the browser language is not recognize.I'm not sure if PS has this setup and therefore I have no idea what the code should be. Link to comment Share on other sites More sharing options...
likeminded Posted March 11, 2009 Share Posted March 11, 2009 I would like to know how to do this as well.did you get it to work at all or get a solution? Link to comment Share on other sites More sharing options...
bambi Posted March 11, 2009 Author Share Posted March 11, 2009 i could not get it to work Link to comment Share on other sites More sharing options...
TicTacArea Posted March 16, 2009 Share Posted March 16, 2009 Hi:We are now moving from Oscommerce.We found a big problem Prestashop not detecting visitor's browser language as we have clients world around.We solved currency detection based on ip with a external software, but we have not achieved to change language.This is solved in Oscommerce by deffault by detecting the browsing language. So, if visitors language is not included in our shop, it jumps to deffault's. This is the most accurate way to do it.Our shop is shown in 5 different languages and would be great to find a solution.A real pity not getting this problem solved.Thanks for this great soft. Link to comment Share on other sites More sharing options...
likeminded Posted March 16, 2009 Share Posted March 16, 2009 TicTacArea could you solved the currency detection based on IP as I want to do this as wellthanks Link to comment Share on other sites More sharing options...
Ann Posted June 14, 2009 Share Posted June 14, 2009 This is the reason why I am considering moving to OS Commerce, unless THE Solution is found by our brilliant team ! ;-) Link to comment Share on other sites More sharing options...
Ehinarr Posted November 23, 2010 Share Posted November 23, 2010 I have made a solution for the language problem. But I do not know if it works fine at all.The purpose of the module is to detect the vistor's language. So, assuming you have installed en, fr, es and pt, with default language pt:1. If a visitor who use english for the browser's language, en will be automatically selected. 2. If the visitor's language, eg. german - de, is not installed, the default language - pt - is selected or a similar.3. If you do use a variant of a main language as default, it can be selected to the visitor.3. Also, a variant language, but not default can be used, instead the main language.Is it clear.. lol If someone wants to try it, i can post it here to download. Link to comment Share on other sites More sharing options...
Stefand Posted November 30, 2010 Share Posted November 30, 2010 @ehinarr.I need it, when it works, I will make a donation to you. Link to comment Share on other sites More sharing options...
tomerg3 Posted November 30, 2010 Share Posted November 30, 2010 I made a free module for that months ago, check out http://www.prestashop.com/forums/viewthread/35119/ Link to comment Share on other sites More sharing options...
Ehinarr Posted November 30, 2010 Share Posted November 30, 2010 My module is very simple, it does not detect the IP address, but the language of the browser's user. In some cases, the language detected does not match with the language installed on PrestaShop because it is a variant, like mx (mexican spanish) from es (spanish). I tryed to redirect the user to that variant language, or to another similar installed.Try it, I hope it works fine. No donation needed. langdetect.zip Link to comment Share on other sites More sharing options...
Stefand Posted November 30, 2010 Share Posted November 30, 2010 @Ehinarr..The problem with language of the browser user, is that that standard is English.. and that's my problem. Link to comment Share on other sites More sharing options...
Ehinarr Posted November 30, 2010 Share Posted November 30, 2010 Your default language is Engilsh? Link to comment Share on other sites More sharing options...
Stefand Posted November 30, 2010 Share Posted November 30, 2010 No my language is Dutch.So when somebody visit my site, the have choice about 3 languages: nl,fr,en.But when a dutch customer visit the site, it displays in the English language because that's is the default in internet explorer.So the module from tomeg does only work for my problem I think. Link to comment Share on other sites More sharing options...
Ehinarr Posted November 30, 2010 Share Posted November 30, 2010 Yes, you are right, I guess. Try that one, it seems me more powerfull. Can you send me nl language? Link to comment Share on other sites More sharing options...
Ehinarr Posted November 30, 2010 Share Posted November 30, 2010 One more question: My module let you redirect the detected language to another. If you redirect all En to nl? It's only a suggestion. 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