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-22 09:54:39 +0200
commit4d18757a85a1b36d1cb2b67fed0cbde4d04ebf21 (patch)
tree69a0112756eaf7f7376f87153bf591f7e102d4e7 /config
parent99d04b1917e368b8bb5206bb9871a0f9c8ec3c17 (diff)
downloadnextcloud-server-4d18757a85a1b36d1cb2b67fed0cbde4d04ebf21.tar.gz
nextcloud-server-4d18757a85a1b36d1cb2b67fed0cbde4d04ebf21.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 27499825c64..81c2b6c8ba9 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