# Edit button in Customize - Text uses wrong language under circumstances

**URL:** https://meta.discourse.org/t/edit-button-in-customize-text-uses-wrong-language-under-circumstances/219288
**Category:** Bug
**Created:** [February 24, 2022, 4:49pm UTC](https://meta.discourse.org/t/edit-button-in-customize-text-uses-wrong-language-under-circumstances/219288 "2022-02-24T16:49:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [February 24, 2022, 4:49pm UTC](https://meta.discourse.org/t/edit-button-in-customize-text-uses-wrong-language-under-circumstances/219288/1 "2022-02-24T16:49:41Z")

</div>

This sounds like something very artificial but the steps to reproduce this bug could be a year apart.

Assuming your forum is set to language A to start with.

1. Edit a text in language A using Customize - Text
2. Change the default locale of the forum to B
3. Hard refresh your browser
4. Go back to Customize - Text
5. Search for the text you have just changed in step 1. The dropdown will be on language B since it is the default locale.
6. You will find the text you’ve changed **but there is no way to see that this text was found in language A and not in the currently selected language**.
7. Click Edit
8. The edit box will show the text of language B since that was what was in the dropdown.

The only way to figure out that this text was found in language A is to look in the database, or to try to set the dropdown to different languages until you find it.

Long story short: the Edit buttons should use the language of the overridden text, not the language in the dropdown.
