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

Language Configuration - Automatic language detection #1300

Open
3 of 12 tasks
thiagomdiniz opened this issue Jun 1, 2024 · 1 comment
Open
3 of 12 tasks

Language Configuration - Automatic language detection #1300

thiagomdiniz opened this issue Jun 1, 2024 · 1 comment

Comments

@thiagomdiniz
Copy link

WHAT Needs to be Documented?

When installed with Docker, the configuration of the OwnCloud default_language parameter needs to be done through the OWNCLOUD_DEFAULT_LANGUAGE environment variable. The configuration of the default_language parameter directly in the config.php file is not respected.

Also, the behavior regarding automatic language detection of the user's browser is confusing when using OwnCloud in Docker, as it is understood that if you do not apply any language settings, automatic detection will be the default behavior. But actually the default behavior is the English language.

Tested with versions 10.13.4 and 10.14.0.

WHERE Does This Need To Be Documented (Link)?

WHY Should This Change Be Made?

The current documentation makes us understand that the default configuration is to try to identify the user's browser language and, if it is not possible to detect it, a language can be defined to be used as default (default_language parameter).

I needed this automatic language detection feature, more specifically for public shares (drop folders), I carried out several tests without success.
I only had success when I set the value of the default_language parameter to *, false or a blank space.
In fact, as I use OwnCloud in Docker, I had to define this value in the the OWNCLOUD_DEFAULT_LANGUAGE environment variable, as initially it does not respect the configuration in the config.php file.

(Optional) What Type Of Content Change Is This?

  • New Content Addition
  • Old Content Deprecation
  • Existing Content Simplification
  • Bug Fix to Existing Content

(Optional) Which Manual Does This Relate To?

  • Admin Manual
  • Developer Manual
  • User Manual
  • Android
  • iOS
  • Branded Clients
  • Desktop Client
  • Other
@mmattel
Copy link
Contributor

mmattel commented Jun 10, 2024

@jnweiger pls check

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

No branches or pull requests

2 participants