From 80207df04498699e3ff5282126424206194e7b8b Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Fri, 9 Feb 2024 13:51:16 +0100 Subject: [PATCH] Update install Configure language settings via occ --- scripts/install | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/install b/scripts/install index 1aaf177..50c1fcc 100755 --- a/scripts/install +++ b/scripts/install @@ -87,6 +87,12 @@ ynh_script_progression --message="Configuring $app..." --weight=8 # Set the mysql.utf8mb4 config to true in config.php exec_occ config:system:set mysql.utf8mb4 --type boolean --value="true" +# Set default language in config.php +exec_occ config:system:set default_language --value="$language" + +# Set default phone region in config.php +exec_occ config:system:set default_phone_region --value="$language" + # Ensure that UpdateNotification app is disabled exec_occ app:disable updatenotification