SollerSjors Posted February 11, 2021 Share Posted February 11, 2021 Site URL: https://www.bodegabravoescospriorat.com Hi, We have our website in 4 languages. All working well, but now we are looking for possibility to direct visitorsd to the right language version using their IP address. I found sollution via Georatgetly.com but this subscription gets expense when we get many visitors. Anybody knows another solution to direct visitors to their langue-version? Salud from Amsterdam, Sjors Link to comment
paul2009 Posted February 11, 2021 Share Posted February 11, 2021 7 hours ago, SollerSjors said: We are looking for possibility to direct visitors to the right language version using their IP address. Hey Sjors IP address geolocation isn't usually the most reliable way to set the language, because the country doesn't determine a visitor's language. For example, in Canada they may prefer English or French. In Switzerland they may prefer German, French, Italian or Romansh! It's better to set the website's language by asking for the visitor's browser 'locale'. For example in Canada the browser locale may be 'en-CA' for English speakers or 'fr-CA' for French. You can obtain the browser language in JavaScript by checking the navigator.language value. Here's a test page where you can see it working 🙂. The way that you use this will depend on the JavaScript that you are already using to set the website language. I hope this helps. If this helps you, please click "Like" below ⬇️ Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
SollerSjors Posted February 11, 2021 Author Share Posted February 11, 2021 Thanks a lot Paul, this sounds like a very good idea and I'm gonna dive into it. I hope I can manage to get it working with my limited knowledge on this... Appreciate very much that you put so much effort in helping people, I see your name on many more forum-topics! Link to comment
SollerSjors Posted February 11, 2021 Author Share Posted February 11, 2021 Hi again, In your helpful answer you mention: here is a page were you see it working. But I do not see that page. Can you let me know where I can find an example? Wish you a good evening, Sjors Link to comment
paul2009 Posted February 11, 2021 Share Posted February 11, 2021 2 minutes ago, SollerSjors said: I do not see that page. Oops, sorry! I've added it now. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.