# Bug OP-8257 - Setting a default language for users has no effect on new self-registered user accounts

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-8257

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 12.4.0 |
| Observed in versions | 11.1.0 |
| Sprint | 12.4.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 11.1.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

Your OpenProject Version: 11..1.2 (PostgreSQL) docker image

Debian Linux / Firefox / Chromium / OpenProject language: English

### **Logs**

n/a?

### **Steps to reproduce:**

1.  Go to Administration \> Users & Permissions \> Settings. Check the Default language and Users time zone are filled.
2.  Go to Administration \> System settings \> Display. Check the Default language is enabled.
3.  Sign out.
4.  Click "Sign in" (top right). Click "Create a new account".
5.  Fill in Username, First name, Last name, Email, Password and Confirmation (all mandatory). Click "Create".
6.  Sign in  as an Administrator. Go to Administration \> Users & Permissions. The User list is shown. The new user is waiting for Activation.
7.  Click Activate. The new user is activated.
8.  Click the new users Username to open the details. The Language field is empty. Time zone is filled using the default value.

### **Actual Behavior**

The new users Language is empty.

### **Expected Behavior**

The new users Language is filled with the default value. This is what happens when a new user is created by the Administrator in the User list.

**Note:** Users who get created by the administrator this works as expected (default languag becomes the user's language).
