All modulesMagento 2 module

Language & country switcher

Visitors switch to their own language or country from the header in one click. A flag, a language name or a country code.

€150 + VAT · one-off licence, installation optional

www.degriz.eu
The shopper picks another language or country in the header and lands on the same page in that store
About the module

What it does.

“The site is in Slovenian and I speak German.” With several languages or countries, visitors struggle to find their version and leave.

What it looks like in practice

A German visitor lands on your site, sees a flag in the header and clicks it. A list of the other versions of the store opens and they pick theirs. If you chose the short display, they see only a country code, for example SI or DE.

What changes

  • Their own language in one click. The switcher in the header shows a flag and the language name or the country code.
  • The flag follows the language. The flag follows the locale of the store view.
  • Country code only, if you like. Instead of the language name you can show the country code (SI, DE).
  • All versions in one place. The switcher offers the other store views of all websites; a store view that is switched off is not offered as a choice.

Who it is for

Stores in several languages or for several countries, where the versions live in separate store views.

How you set it up

Set it up under Stores › Configuration › Magelan › Store Switch: Enable Switch and Show Country Code Only.

Good to know

  • The switcher replaces Magento’s language selector in the header and in the mobile menu.
  • On Hyvä it works as a standalone component.

Want it in your store?

Install it yourself or choose installation and configuration when you order. Building a new store? Add it to your project in the Konfigurator.

Screens

Take a look at every step.

www.degriz.eu
The flag in the header opens the list of available languages and countries
www.degriz.eu
After the choice the store opens in the other language, and switching back works too
www.degriz.eu
Settings: enable per store view and choose between the country code or the language name
Installation

How to install it.

You get the module from our private Composer repository; we send you the user name and access key after purchase. We can install it for you, or whoever looks after your store can run these commands in the root of the Magento 2 store (replace UPORABNIK and DOSTOPNI_KLJUC with the user name and access key you received):

composer config repositories.degriz composer https://www.degriz.net/konfigurator/composer/packages/composer config --auth http-basic.www.degriz.net UPORABNIK DOSTOPNI_KLJUCcomposer require degriznet/m2_storeswitchphp bin/magento module:enable Magelan_StoreSwitchphp bin/magento setup:upgradephp bin/magento setup:di:compilephp bin/magento setup:static-content:deploy -fphp bin/magento cache:flush

Where do I get the user name and the access key?

After the payment we e-mail you a link to create the access key. Keep the key safe: for security it is shown only once and we do not keep it in readable form. The user name (your project code) and all the commands, ready to copy, are in your account under My account > Module licences.

Lost the key? Create a new one in your account under Module licences; the old one stops working.

Technical details

Compatibility.

Just the facts.

Code
degriz_storeswitch
Platform
Magento 2
Licence
One-off
Change log

Version 1.1.4 · 19 Nov 2026

  • The language switcher is drawn in the header of Hyvä themes (next to search, account and cart); before, Hyvä did not show it at all.
  • Show Country Code Only: store views of the same country (a Slovenian and an English view) show the language names, because their codes would read the same (SI and SI).

Version 1.1.2 · 11 Oct 2026

  • Module settings are placed in the shared Magelan tab.

Version 1.1.1 · 5 Oct 2026

  • A store view with the switch turned off is removed from the list; the setting was read for the current store only.
  • Show Country Code Only works: Yes shows the country code (SI, DE) next to the flag. Its default is No.
  • A store view whose locale Magento does not list shows its name instead of breaking the header.
  • The Hyvä switcher is compatible with the Content Security Policy.
  • The admin texts are translated into Slovenian, Croatian, German, Italian and Hungarian.

Version 1.1.0 · 2 Oct 2026

  • The language switcher also works on Hyvä themes, with its own stylesheet.
  • Added German, Italian and Hungarian translations.

Version 1.0.0 · 17 Jul 2026

  • First release: a store view switcher in the page header with a flag and the language name.
After purchase

You are not left alone.

We develop and maintain the module ourselves, so you write to the people who know it line by line.

Installation

Installation and configuration are optional: choose them when you order and the price is added to the order (+ VAT). If more time is needed, we bill the rest separately.

Support

A bug that repeats on a clean Magento with the Luma theme we fix free of charge. Settings, customisations and other themes by time spent.

Updates

The licence includes 12 months of free updates for the Magento versions on the supported list.

We agree on a date after reviewing the request. User guides in the guide centre

Language & country switcher

€150 + VAT

One-off licence for one store, no subscription. Installation and configuration are optional.

After payment you get the licence and access to our private repository: immediately with a card or PayPal, with a bank transfer (UPN) as soon as we receive the payment. 12 months of free updates are included.

Write to us

Install it yourself by following the guide, or choose installation and configuration above. If more time is needed, we bill the rest separately. We agree on a date after reviewing the request.

Anže Voh, Degriz

Questions about this module?

Write to us and we will answer personally.

[email protected] · +386 40 807 231

Language & country switcher€150 + VATAdd to cart

Online store configurator

Redesigning your store or building a new one?

Put your own quote together in the configurator and see the price straight away. A few minutes, no obligation, no meeting needed.

  • Price straight away
  • No obligation
  • Straight to the developer
Open the configurator

Free and with no obligation

We use cookies for the proper functioning of the site, visit analytics and showing ads tailored to your interests. Read more in our privacy policy. By clicking "Accept all" you agree to the use of all cookies.