nextcloud/lib/private/L10N
Jonas Meurer a6f0278e67
Default to language from request in L10N\Factory->getUserLanguage()
Try to get the language from request before falling back to the instance
default.

This fixes the detected user language during first login of a new user
and ensures that the returned language is consistent during the login.

Also partially fixes a bug with Collectives folder being initialized
in different languages at first login, see
https://gitlab.com/collectivecloud/collectives/-/issues/238

Signed-off-by: Jonas Meurer <jonas@freesources.org>
2022-01-10 13:06:23 +01:00
..
Factory.php Default to language from request in L10N\Factory->getUserLanguage() 2022-01-10 13:06:23 +01:00
L10N.php Update php licenses 2021-06-04 22:02:41 +02:00
L10NString.php Fix ArrayAccess and JsonSerializable return types 2021-11-23 09:28:56 +01:00
LanguageIterator.php Fix Iterator return types 2021-11-23 09:28:57 +01:00
LanguageNotFoundException.php Update php licenses 2021-06-04 22:02:41 +02:00
LazyL10N.php Update php licenses 2021-06-04 22:02:41 +02:00