owncloud/docs-server

Language Configuration - Automatic language detection

thiagomdiniz opened this issue · 1 comments

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

@jnweiger pls check