summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-06-21 11:22:05 +0200
committerJoas Schilling <coding@schilljs.com>2017-06-21 11:34:52 +0200
commit7816c5462531bfb20ab977b430081ab5ccf04755 (patch)
tree9161d24af014df15b2393646cc44fdb7922e181e /config
parent146c699eb49e05c499bf6673f85a948aecceec97 (diff)
downloadnextcloud-server-7816c5462531bfb20ab977b430081ab5ccf04755.tar.gz
nextcloud-server-7816c5462531bfb20ab977b430081ab5ccf04755.zip
Allow to force a language and set it via the ocs api
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 9cff1a4b876..3d1ccb8c2c1 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -164,6 +164,17 @@ $CONFIG = array(
'default_language' => 'en',
/**
+ * With this setting a language can be forced for all users. If a language is
+ * forced, the users are also unable to change their language in the personal
+ * settings. 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.
+ *
+ * Defaults to ``false``
+ */
+'force_language' => 'en',
+
+/**
* Set the default app to open on login. Use the app names as they appear in the
* URL after clicking them in the Apps menu, such as documents, calendar, and
* gallery. You can use a comma-separated list of app names, so if the first