[NC] Add FORCED_LANGUAGE setting

This has been requested by schools.
main
Evilham 2023-03-31 10:38:02 +02:00 committed by elena
parent ce61cfffbe
commit ccf5f8b1de
3 changed files with 7 additions and 2 deletions

View File

@ -47,7 +47,8 @@ cat > "${STATIC_CFG}" <<EOF
/** DD-customised static settings
*/
\$CONFIG = array(
'default_language' => 'ca',
'default_language' => '${FORCED_LANGUAGE}',
'force_language' => '${FORCED_LANGUAGE}',
'skeletondirectory' => '',
'theme' => 'dd',
'allow_local_remote_servers' => true,

View File

@ -79,6 +79,7 @@ services:
# Operator preferences
- EXTRA_PLUGINS_ENABLE=${NEXTCLOUD_PLUGINS_ENABLE:-}
- EXTRA_PLUGINS_DISABLE=${NEXTCLOUD_PLUGINS_DISABLE:-}
- FORCED_LANGUAGE=${FORCED_LANGUAGE:-ca}
networks:
- dd_net

View File

@ -122,7 +122,10 @@ NEXTCLOUD_POSTGRES_PASSWORD=N3xtcl0ud
### These should be available from https://apps.nextcloud.com/
### Example: NEXTCLOUD_PLUGINS_ENABLE=cospend,cookbook
#NEXTCLOUD_PLUGINS_ENABLE=
#NEXTCLOUD_PLUGINS_DISABLE
#NEXTCLOUD_PLUGINS_DISABLE=
#
### This language will be forced (currently only Nextcloud)
#FORCED_LANGUAGE=ca
## WORDPRESS
##=============================================================================