There are cases when you want to remove the language switcher dropdown from the storefront.

Magento 2 Language Switcher Remove

For example, you may want to remove it because you use Magento 2 Automatic Language Switcher and don't want to allow customers to manually change a store view.

It is an easy task to do. Please follow these simple steps:

1. Create a new file inside your storefront theme folder:

app/design/frontend/ThemeVendor/ThemeName/Magento_Theme/layout/default.xml

2. Add this code into it:






In case you already have Magento_Theme/layout/default.xml file, then edit it and put this code before closing tag:

3. Flush Magento cache, run CLI command:

bin/magento c:f

 

That's all :-)