# Disable languages in Admin

**URL:** <https://forum.shopware.com/t/disable-languages-in-admin/97695>\
**Category:** Shopware 6 (English)\
**Created:** [20. Dezember 2022 um 14:27 UTC](https://forum.shopware.com/t/disable-languages-in-admin/97695 "2022-12-20T14:27:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gendai](https://avatars.discourse-cdn.com/v4/letter/g/a9a28c/32.png) [@Gendai](https://forum.shopware.com/u/Gendai)\
**Post date:** [20. Dezember 2022 um 14:27 UTC](https://forum.shopware.com/t/disable-languages-in-admin/97695/1 "2022-12-20T14:27:12Z")

</div>

Hi all,

After the update to 6.4.18.0 I’ve gotten a lot more language in the admin.

![afbeelding](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/9/3/93c6a292f3798b2577d005554f34c411d58f28d8.png)

How can I disable or remove these?

---

<div class="post-metadata">

**Author:** ![Gendai](https://avatars.discourse-cdn.com/v4/letter/g/a9a28c/32.png) [@Gendai](https://forum.shopware.com/u/Gendai)\
**Post date:** [27. Dezember 2022 um 09:21 UTC](https://forum.shopware.com/t/disable-languages-in-admin/97695/2 "2022-12-27T09:21:00Z")

</div>

Anyone who can help me out?

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [27. Dezember 2022 um 09:46 UTC](https://forum.shopware.com/t/disable-languages-in-admin/97695/3 "2022-12-27T09:46:48Z")

</div>

Have a look at settings → shop → languages.

---

<div class="post-metadata">

**Author:** ![Beuber](https://avatars.discourse-cdn.com/v4/letter/b/a6a055/32.png) [@Beuber](https://forum.shopware.com/u/Beuber)\
**Post date:** [27. Dezember 2022 um 13:59 UTC](https://forum.shopware.com/t/disable-languages-in-admin/97695/4 "2022-12-27T13:59:36Z")

</div>

I guess ur screenshot is from the location @SmartStylez told u to look at 🙂  
We are not at the newest version so i am not sure about how it works, but ur screenshot saws that they are now more options to add languages but i dont think that they are activatet. There is only the option to add them.  
So if they was not added they is no need/possiblity to disable them or?

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [27. Dezember 2022 um 14:07 UTC](https://forum.shopware.com/t/disable-languages-in-admin/97695/5 "2022-12-27T14:07:35Z")

</div>

Or perhaps he uses this plugin:

> **[Shopware Language Pack](https://store.shopware.com/en/swag338126230916f/shopware-language-pack.html)**
>
> The path to internationalisation is an exciting one and requires quite a bit of work: Everything needs to be set up perfectly; from the currency to…

---

<div class="post-metadata">

**Author:** ![Gendai](https://avatars.discourse-cdn.com/v4/letter/g/a9a28c/32.png) [@Gendai](https://forum.shopware.com/u/Gendai)\
**Post date:** [27. Dezember 2022 um 14:20 UTC](https://forum.shopware.com/t/disable-languages-in-admin/97695/6 "2022-12-27T14:20:31Z")

</div>

Thanks.

Somehow deleting the language is not possible. Keeps showing.

Also I get this error in the log:

`Uncaught PHP Exception Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException: "An exception occurred while executing 'DELETE FROM `language` WHERE id = ?' with params ["\xb4\x9d\x89\xee\xfc\xed\x4e\xb7\xb8\x94\x83\x73\xf3\xbb\x25\xee"]: SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`h100525\_shop6`.`swag\_language\_pack\_language`, CONSTRAINT `fk.swag\_language\_pack\_language\_language` FOREIGN KEY (`language\_id`) REFERENCES `language` (`id`) ON UPDATE CASCADE)" at /home/h100525/domains/new.MY-DOMAIN.nl/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 68 {"exception":"[object] (Doctrine\\DBAL\\Exception\\ForeignKeyConstraintViolationException(code: 0): An exception occurred while executing 'DELETE FROM `language` WHERE id = ?' with params [\"\\xb4\\x9d\\x89\\xee\\xfc\\xed\\x4e\\xb7\\xb8\\x94\\x83\\x73\\xf3\\xbb\\x25\\xee\"]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`h100525\_shop6`.`swag\_language\_pack\_language`, CONSTRAINT `fk.swag\_language\_pack\_language\_language` FOREIGN KEY (`language\_id`) REFERENCES `language` (`id`) ON UPDATE CASCADE) at /home/h100525/domains/new.MY-DOMAIN.nl/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:68)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`h100525\_shop6`.`swag\_language\_pack\_language`, CONSTRAINT `fk.swag\_language\_pack\_language\_language` FOREIGN KEY (`language\_id`) REFERENCES `language` (`id`) ON UPDATE CASCADE) at /home/h100525/domains/new.MY-DOMAIN.nl/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18)\n[previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`h100525\_shop6`.`swag\_language\_pack\_language`, CONSTRAINT `fk.swag\_language\_pack\_language\_language` FOREIGN KEY (`language\_id`) REFERENCES `language` (`id`) ON UPDATE CASCADE) at /home/h100525/domains/new.MY-DOMAIN.nl/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117)"} []`

Can I just delete the language from the database?

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [27. Dezember 2022 um 15:06 UTC](https://forum.shopware.com/t/disable-languages-in-admin/97695/7 "2022-12-27T15:06:22Z")

</div>

Do you use the language pack or did you use it in the past?

---

<div class="post-metadata">

**Author:** ![Gendai](https://avatars.discourse-cdn.com/v4/letter/g/a9a28c/32.png) [@Gendai](https://forum.shopware.com/u/Gendai)\
**Post date:** [27. Dezember 2022 um 15:19 UTC](https://forum.shopware.com/t/disable-languages-in-admin/97695/8 "2022-12-27T15:19:12Z")

</div>

I’m only using it for Dutch language.

Perhaps it’s better to just add Dutch manually as language? Will I losse any translations on pages and/or products?
