# Locale-mismatch bij themavertalingen

**URL:** https://meta.discourse.org/t/locale-mismatch-at-theme-translations/302879
**Category:** Bug
**Created:** [8 april 2024 om 14:34 UTC](https://meta.discourse.org/t/locale-mismatch-at-theme-translations/302879 "2024-04-08T14:34:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [8 april 2024 om 14:34 UTC](https://meta.discourse.org/t/locale-mismatch-at-theme-translations/302879/1 "2024-04-08T14:34:35Z")

</div>

The language dropdown in the theme translations seems to use the site’s locale at initial load, while the translations are shown in the user’s locale.

My site’s default locale is German, and my user’s locale is English. When I open the settings of the Dark-Light Toggle, the translation looks like this:

 ![image](https://global.discourse-cdn.com/meta/original/4X/f/8/6/f8643250c10fcde9416af00a0826150e70c9394c.png)  
So, the dropdown shows German (site’s locale), but ‘Toggle color scheme’ is in English (personal locale).  
When I change the language in the dropdown to English, both the dropdown and the translation are in English.  
 ![image](https://global.discourse-cdn.com/meta/original/4X/3/7/6/3766c4d702e62175b5462ba02940eece94c859f6.png)  
And when I choose German afterwards, both the dropdown and the translation are in German.  
 ![image](https://global.discourse-cdn.com/meta/original/4X/e/f/2/ef2bcac64c1b7a78a35cb5b35b4eae9c993f8fce.png)

I would expect that one of those would appear when I open the settings. The mix creates the wrong impression that there is no German translation.

---

<div class="post-metadata">

### Author: ![gabriel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gabriel/32/367911_2.png) [@gabriel](https://meta.discourse.org/u/gabriel)
#### Post date: [19 april 2024 om 17:50 UTC](https://meta.discourse.org/t/locale-mismatch-at-theme-translations/302879/7 "2024-04-19T17:50:19Z")

</div>

Hey! We have good news!

This issue was solved:

[https://github.com/discourse/discourse/pull/26687](https://github.com/discourse/discourse/pull/26687)

Thanks for your patience; if you have any issues, please let us know!

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [22 april 2024 om 07:01 UTC](https://meta.discourse.org/t/locale-mismatch-at-theme-translations/302879/8 "2024-04-22T07:01:01Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
