# Inconsistent locale selection in admin and user settings

**URL:** <https://meta.discourse.org/t/inconsistent-locale-selection-in-admin-and-user-settings/53773>\
**Category:** Bug\
**Created:** [4. Dezember 2016 um 22:49 UTC](https://meta.discourse.org/t/inconsistent-locale-selection-in-admin-and-user-settings/53773 "2016-12-04T22:49:48Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ibnesayeed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ibnesayeed/32/120427_2.png) [@ibnesayeed](https://meta.discourse.org/u/ibnesayeed)\
**Post date:** [4. Dezember 2016 um 22:49 UTC](https://meta.discourse.org/t/inconsistent-locale-selection-in-admin-and-user-settings/53773/1 "2016-12-04T22:49:49Z")

</div>

In the admin section, “default locale” selection combo-box shows names of languages such as “Deutsch” and “English”. However, if the “allow user locale” is enables, the “interface language” selection combo-box shows language values instead, such as “de” and “en”.

I think it would be fixed if [preferences.hbs#L125](https://github.com/discourse/discourse/blob/a94f06ff7843bdd9b3904c73ad97e522f666ef11/app/assets/javascripts/discourse/templates/preferences.hbs#L125) is changed from `valueAttribute="value"` to `valueAttribute="name"`.

---

_[View the full topic](https://meta.discourse.org/t/inconsistent-locale-selection-in-admin-and-user-settings/53773)._
