#!/bin/bash LANGUAGE_CODE=$1 COUNTRY_CODE=$2 LOCALE="${LANGUAGE_CODE}_${COUNTRY_CODE}.UTF-8" apt-get -y install language-pack-gnome-$LANGUAGE_CODE language-pack-kde-$LANGUAGE_CODE update-locale LANGUAGE=$LOCALE LANG=$LOCALE LC_ALL=$LOCALE systemctl restart sddm