---
title: "How to Remove Language Switcher in Magento 2"
url: "https://magecomp.com/blog/remove-language-switcher-magento-2/"
date: "2022-11-08T09:45:07+00:00"
modified: "2025-02-14T07:06:13+00:00"
author:
  name: "Dhiren Vasoya"
  url: "https://magecomp.com/"
categories:
  - "How To"
  - "Magento 2"
word_count: 244
reading_time: "2 min read"
summary: "Hello Magento Friends,"
description: "You have enabled the language switcher but due to some reasons, you want to disable it. Learn the steps to Remove Language Switcher in Magento 2"
keywords: "How To, Magento 2"
language: "en"
schema_type: "Article"
related_posts:
  - title: "How to install Magento 2 on Windows on XAMPP server with GIT"
    url: "https://magecomp.com/blog/how-to-install-magento-2-on-windows-on-xampp-server-with-git/"
  - title: "Top Benefits an E-commerce Store Will Avail from Magento 1 to Magento 2 Migration"
    url: "https://magecomp.com/blog/top-benefits-ecommerce-store-will-avail-from-magento2-migration/"
  - title: "Best Magento 2 Alternate Hreflang Tags Extensions"
    url: "https://magecomp.com/blog/best-magento-2-alternate-hreflang-tags-extensions/"
---

# How to Remove Language Switcher in Magento 2

_Published: November 8, 2022_  
_Author: Dhiren Vasoya_  

![How to Remove Language Switcher in Magento 2](https://magecomp.com/blog/wp-content/uploads/2022/11/How-to-Remove-Language-Switcher-in-Magento-2-1024x512.webp)

**Hello Magento Friends,**

This tutorial will instruct, How to Remove Language Switcher in Magento 2.
[![Magento 2 Speed & Performance Optimization Services](https://magecomp.com/blog/wp-content/uploads/2025/02/Magento-2-Speed-Performance-Optimization-Services-CTA-2.webp)](https://magecomp.com/magento-performance-optimization.html)

The language switcher dropdown is displayed in the storefront providing various language options. Selecting a language will convert the website content into that particular language. To attract a global audience, Magento 2 store owners add a language switcher option on the storefront. Using the [**Google Langauge Translator module**](https://magecomp.com/magento-2-google-language-translator.html), customers can select their desired language and comfortably shop from your Magento 2 store.
But sometimes, you need to remove the language switcher option. To do so, you can use the below steps.
## Steps to Remove Language Switcher in Magento 2:
**Step 1:** First, create a **default.xml** file inside the etc folder
**Vendor/Extension/view/frontend/layout/default.xml**
Now add the code as follows
```
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
<referenceBlock name="store_language" remove="true" />
    </body>
</page>
```

**Note –** In case you already have Vendor/Extension/view/frontend/layout/default.xml file, then edit it and put the below code before </body> closing tag
```
<referenceBlock name="store_language" remove="true" />
```

[![hyva theme development](https://magecomp.com/blog/wp-content/uploads/2025/02/hyva-theme-development-CTA-6.webp)](https://magecomp.com/services/hyva-theme-development/)

**Step 2:** Run below CLI command to flush Magento cache
```
php bin/magento cache:flush
```

## Conclusion:
Using the above steps, you can Remove Language Switcher in Magento 2. Share it with your friends and stay updated on our latest Magento 2 tutorials.
[![Hire Magento Programmer](https://magecomp.com/blog/wp-content/uploads/2025/02/Hire-Magento-Programmer-CTA-1.webp)](https://magecomp.com/services/hire-magento-programmer/)

**Happy Coding!**

</body>


---

_View the original post at: [https://magecomp.com/blog/remove-language-switcher-magento-2/](https://magecomp.com/blog/remove-language-switcher-magento-2/)_  
_Served as markdown by [Third Audience](https://github.com/third-audience) v3.5.3_  
_Generated: 2026-08-16 09:16:31 UTC_  
