Show active locale or language when either are forced rather than misleading `No locale set`
Open
Nobody has claimed this yet.
1. to develop
enhancement
feature: language/translations (l10n/i18n)
feature: settings
good first issue
javascript
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
I've found that in case the local and/or language are forcedly selected the user profile shows not selected option, but not defined option.
So, in config.php
force_local = > uk_UA
force_language => UK
Observe that the language and locale in profile are defined as The language is not defined
Instead of it should be defined as Ukrainian.
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
Start by reproducing the profile display with the force_local and force_language settings shown in config.php. Trace how the user profile resolves and labels the forced locale or language; done means it shows the selected language, such as Ukrainian, instead of “The language is not defined”.
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
- 45/100