Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default language in login page #1428

Closed
rezaei92 opened this issue Feb 12, 2024 · 2 comments
Closed

Default language in login page #1428

rezaei92 opened this issue Feb 12, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation Nextcloud

Comments

@rezaei92
Copy link

Describe the bug
The login page in Nextcloud does not reflect the changes in language and direction that are set in the admin panel. Therefore, when the language is set to anything other than English in the admin panel, the login page’s translation and right-to-left alignment are incorrect.

Screenshots
snappymail1
snappymail2

Please complete the following information:

  • Mode: Nextcloud
@the-djmaze
Copy link
Owner

the-djmaze commented Feb 12, 2024

Nextcloud has a weird support for RTL.
Here it does not:
afbeelding

In SnappyMail it does:
afbeelding

As for the languages:

Login page:

When allow_languages_on_login is on and determine_user_language is on,
it tries to detect using the browser Accept-Language header.
Else the default language is used.

Logged in:

When allow_languages_on_settings is on and a language is set, use that.
Else when determine_user_language is on, it tries to detect using the browser Accept-Language header.
Else the default language is used.

Nextcloud integration:

When allow_languages_on_settings is off,
it tries to use the Nextcloud -> Personal settings -> Personal info -> Language.
(not the Locale setting)
Else the above rules are applied.

@the-djmaze the-djmaze added documentation Improvements or additions to documentation Nextcloud labels Feb 12, 2024
@rezaei92
Copy link
Author

Thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Nextcloud
Projects
None yet
Development

No branches or pull requests

2 participants