dandzii Posted October 30, 2013 Share Posted October 30, 2013 Hi all, im a total noob, but learning fast. I have PS 1.5.6.0 version and encountered a small bug that i cant correct. After some research and a help on this forum from EL Patron, i realized that this geolocation is a great tool, only i miss one feature from it. Im running a prestashop with two languages Serbian / English and i would like to set my shop so the Serbian language is the default, but as i have learned that the PS 1.5.6.0 recognizes the browser language and since it is in English it automaticly opens the English instead of Serbian even if i have set the Serbian language as the default in Localization and the default country to be Serbian aswell. Then after few discussions with El Patron i have learned that enabling geolocation you can use the Localization > Countries feature where you can select Serbia and here make some setups, like my shops default currency is EURO but in serbia we use DINAR as currency (only that we use EURO for a guide line price that never changes and on daily basis we change it according to the currency rate), so here in Localization > Countries i have changed that the default currency should be DINAR for Serbian visitors and it works perfectly! So my question is is there a way to modify the Localization > Countries>(choose your own coutry in my case its Serbia) where you can set the default language for your shop by country this way overriding the option of PS to pull out the default language from the installed browser language. i hope i made clear what i am looking for. Link to comment Share on other sites More sharing options...
dandzii Posted October 31, 2013 Author Share Posted October 31, 2013 I guess this topic can be marked as SOLVED , just dont know how to do it 1 Link to comment Share on other sites More sharing options...
El Patron Posted August 11, 2014 Share Posted August 11, 2014 Just a follow up to this. you do not want to use Geo Localization, geolitecity.dat file is only around 85% accurate, the other 15% will be forbidden (native PrestaShop behavior) to shop. So don't use. While browser detection in 1.5.6 and higher was a good move, it does not support scenario of 'I prefer Danish, but will accept the following language) in HTTP_ACCEPT_LANGUAGE. In other words native PrestaShop will look at first language in HTTP_ACCEPT_LANGUAGE but if not defined in shop, use default without looking for other visitor browser languages. Localization has always been of interest to me and important for my customers. Here is the most advanced language detector, on the planet. [Module] Geo Localization - Advanced Browser Language Detect 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