Switch Stores Based on Customes’ Location
Store switching is the first step visitors take once they land on your default store view. But do they have to?
Not if you use the Automatic Magento 2 Language Switcher.
Let it detect customers’ location and automatically redirect them to the store view in their local language.
Define language for certain countries and provide a personalized shopping experience for your customers.
Switch Stores Based On Browser Language
What store should you redirect visitors to if the country has multiple languages? Great question.
Magento 2 Language Switcher cover that with the browser language.
Keep the browser language setting for all multilingual countries and let the extension do the rest.
Be one step ahead of your customer! Provide a better multi-language experience in all scenarios.
Give Your Visitors a Choice
Although Magento 2 Language Switcher switches stores automatically, it doesn’t always have to.
Sometimes you have to give your visitors an option.
Enable the language switcher popup and allow your visitors to decide if they want to be redirected.
The language of the popup is detected based on the customers' country or browser language.
Redirect Visitors Between Websites
Automatic Magento 2 Language Switcher improves your visitors' experience not only within one website. But within all of them.
Enable the website switcher and redirect visitors within all websites in your installation.
Potential customers will be redirected to the store in their local language, regardless of their location.
Make sure it's a good match!
Uncertain whether the Magento 2 Language Switcher Extension has all the features you're looking for, or if it aligns with your goals?
Detect GeoIP Location Properly
Proper GeoIP detection is crucial for store switching. That’s why we take it very seriously.
Magento 2 Language Switcher uses three different GeoIP databases: Maxmind, CloudFlare and PHP GeoIP. Each updated automatically by corn.
We guarantee seamless GeoIP detection and accurate store switching in all cases.
Step Into Your Customers Shoes
Wonder how your setting works for visitors from different countries? Check that out with the location simulator.
Just set the IPs and the country you want it to be identified with. It is that easy.
Automatic Magento Language Switcher will redirect you to the relevant store view based on your settings.
Disable the Redirection for All or Specific Pages
Every visitor that comes from a certain country is redirected to a store view in their local language. But it doesn’t work like that in all cases.
Magento 2 Language Switcher allows you to disable the redirection for certain pages, locations and robots.
Make sure search crawlers and bots can scan your website with no redirection.
Restrict the redirection for certain IPs and let people land on the default store view.
Benefit from the GraphQL Endpoints
Our extension ensures the ultimate experience regardless of the technology you use.
Use the GraphQL endpoints to get customers' location or language and redirect them to a corresponding store.
Do it automatically or build a language suggestion popup for your headless PWA storefront.
Does the Language Switcher extension provide support to varnish cache?
Yes, it does. To make the module work properly with the varnish cache you need to modify the Varnish Cache configuration file (by default /etc/varnish/default.vcl) on your server and restart varnish. Please add these lines of code to the varnish config file:
if (req.http.cookie !~ "PHPSESSID=" && req.http.User-Agent !~ "bot" && req.http.User-Agent !~ "loader") {
return (pass);
}
With this setting, your store will be displayed without varnish cache during the first visit. You need to do this as the GeoIP detections held on the PHP level, and you need to allow varnish to skip the first visitor's request to make GeoIP detection possible. Check
for more information.
Can I install Magento 2 Auto Language Switcher module via the composer?
Yes, you can. All our modules can be installed via the composer. Once you purchase the extension, you receive keys to the private Magefan composer repository and find the composer installation commands available in the "My Downloads" section.
Does Magento support multi-language?
Yes, Magento supports multi-language and allows you to create multiple store views in different languages. You can set locales for these store views, install the language packs and translate Magento 2 pages.
How to add language switcher to Magento 2 header?
Language Switcher is a default Magento functionality. When you create store views in the admin panel they appear in the store switcher on the storefront.
How to change default language in Magento 2?
To change default language in Magento 2 frontend go to Stores > Configuration and switch to the store view you want to change the language for. Then set the default language in General > Locale Options > Locale section.
- magento 2 language switcher
- magento 2 website switcher
- store switcher
- store switcher magento
- magento language switcher
Attracting more worldwide customers? Then you should definitely use the Magento 2 Auto Language Switcher Extension. Redirect customers to a corresponding store view based on the visitors' country or their browser language.
clients say
Thanks Magefan Team for this module and support! Works as we expected.