diff --git a/dd-apps/docker/nextcloud/nc-setup.sh b/dd-apps/docker/nextcloud/nc-setup.sh index b7095ae..5ab35eb 100755 --- a/dd-apps/docker/nextcloud/nc-setup.sh +++ b/dd-apps/docker/nextcloud/nc-setup.sh @@ -47,7 +47,8 @@ cat > "${STATIC_CFG}" < 'ca', + 'default_language' => '${FORCED_LANGUAGE}', + 'force_language' => '${FORCED_LANGUAGE}', 'skeletondirectory' => '', 'theme' => 'dd', 'allow_local_remote_servers' => true, diff --git a/dd-apps/docker/nextcloud/nextcloud.yml b/dd-apps/docker/nextcloud/nextcloud.yml index 76b2374..cc92ed4 100644 --- a/dd-apps/docker/nextcloud/nextcloud.yml +++ b/dd-apps/docker/nextcloud/nextcloud.yml @@ -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 diff --git a/dd.conf.sample b/dd.conf.sample index 25e8056..f686d32 100644 --- a/dd.conf.sample +++ b/dd.conf.sample @@ -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 ##=============================================================================