Content
Bug OP-8257: Setting a default language for users has no effect on new self-registered user accounts
View differences
Updated by Max Mutzge over 5 years ago
### **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).
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).