diff --git a/admin_manual/configuration_server/language_configuration.rst b/admin_manual/configuration_server/language_configuration.rst index 177b9d9d7..1cd988c95 100644 --- a/admin_manual/configuration_server/language_configuration.rst +++ b/admin_manual/configuration_server/language_configuration.rst @@ -1,19 +1,16 @@ Language Configuration ====================== +Default language +---------------- + In normal cases Nextcloud will automatically detect the language of the Web-GUI. If this does not work properly or you want to make sure that Nextcloud always -starts with a given language, you can use the **default_language** parameter. +starts with a given language, you can set a **default_language** parameter in the +:file:`config/config.php`. -Please keep in mind, that this will not effect a users language preference, -which has been configured under "personal -> language" once he has logged in. - -Please check `Transifex language codes -`_ for the list of valid language -codes. - -Parameters ----------- +.. note:: The default_language paramenter is only used, when the browser does not + send any language, and the user hasn't configured own language preferences. :: @@ -21,4 +18,24 @@ Parameters "default_language" => "en", -This parameters can be set in the :file:`config/config.php` + +Force language +-------------- + +If you want to force a specific language, users will no longer be able to change +their language in the personal settings. You can set a **force_language** parameter +in the :file:`config/config.php`. + +:: + + "en", + + +If users shall be unable to change their language, but users have different languages, +this value can be set to ``true`` instead of a language code. + +.. note:: Please check `Transifex language codes + `_ for the list of valid language + codes.