From 7816c5462531bfb20ab977b430081ab5ccf04755 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 21 Jun 2017 11:22:05 +0200 Subject: Allow to force a language and set it via the ocs api Signed-off-by: Joas Schilling --- config/config.sample.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'config') 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 @@ -163,6 +163,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 -- cgit v1.2.3