No default user account language is set
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
Description
When creating a new installation the default account is created with no language preference set, so if the user heads into their account settings and saves their settings the German option at the top of the list gets applied.
We had a few confusing instances where we wanted to change settings in one of the other tabs, not noticing the language preference and our dashboard language was changed to German
This happened with a few different installations
Steps to reproduce
- Install craft
- Go to account preferences
- Save settings
Additional info
- Craft version: 3.5.12.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce this on a fresh Craft installation by opening account preferences and saving the settings. Trace how the default account's language preference is initialized and how the account preferences form handles an unset value; done means saving other settings no longer unexpectedly selects German.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100