nextcloud/server

Show active locale or language when either are forced rather than misleading `No locale set`

Open

#41543 opened on Nov 16, 2023

View on GitHub
 (3 comments) (0 reactions) (0 assignees)PHP (34,953 stars) (4,865 forks)batch import
1. to developenhancementfeature: language/translations (l10n/i18n)feature: settingsgood first issuejavascript

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

image

Instead of it should be defined as Ukrainian.

Contributor guide