Go Dark Go Light
Stand with Ukraine!  How can you help?

Magento 2 Language and Store Switcher Extension

Magento 2 Language and Store Switcher is an extension that allows you to redirect visitors to a corresponding store view based on their location or browser language. Enable automatic redirect or let the customer show a language in a language suggestion popup.

Personalize shopping experiences on your store from the first click with the advanced Magento 2 Store Switcher.

  • Redirect visitors to a certain store view based on their location or browser language
  • Set store views to which redirect visitors from different country
  • Enable automatic switcher or language suggestion popup
  • Switch customers to store views within one or multiple websites
  • Restrict language switcher to all or specific pages by IP
  • Use the built-in simulation tool to test the settings
  • Disable auto language switcher for different robots
one-time payment
Buy Now Free Trial
Purchase as part of the Magento 2 GeoIP Switcher and save 10% OFF.
Switch store views automatically in Magento
Set default store views by country for the language switcher in Magento
Language suggestion pop up in Magento
Live Demo
Compatibility:Magento 2.3.0 - 2.4.7 (CE, EE, ECE, B2B)
hyva compatible
Composer Package
PWA Ready!
Magento 2 Language and Store Switcher Extension

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.

magento 2 language switcher
magento store switcher based on browser language

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.

magento 2 language switcher suggestion popup
magento 2 website switcher

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.

magento 2 geoip databases
magento 2 geoip simulator

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.

magento 2 language switcher restrictions
magento 2 language switcher graphql

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 Magefan Blog Extension - Blog Post Link 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.

People Also Searched For
  • magento 2 language switcher
  • magento 2 website switcher
  • store switcher
  • store switcher magento
  • magento language switcher
Quick Overview Video

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.

Check out this short video to learn how to configure it.
Related Products
Magento 2 Currency Switcher
Currency Switcher
one-time payment
Magento 2 Translation
one-time payment
Magento 2 GeoIP Switcher
GeoIP Store Switcher
Special Price $149 Regular Price $178
one-time payment
Magento 2 SEO Extension
one-time payment
Magento 2 Hreflang
Hreflang Tags
one-time payment
Magento 2 CMS Display Rules
Dynamic Blocks and Pages
one-time payment
What our
clients say

I'm happy with this extension. Thank you for the fast reply to my questions.

Ivan Tiker
Brands Who Trust Us
Magento 2 Language and Store Switcher Extension
Live Demo