Language setting

This commit is contained in:
Bob Mottram 2016-10-09 22:42:59 +01:00
parent ac542ebe9e
commit c0479cffde
2 changed files with 18 additions and 16 deletions

View File

@ -1280,6 +1280,7 @@ function interactive_select_language {
esac
save_configuration_values
locale-gen "${DEFAULT_LANGUAGE}"
update-locale LANG=${DEFAULT_LANGUAGE}
update-locale LANGUAGE=${DEFAULT_LANGUAGE}
update-locale LC_MESSAGES=${DEFAULT_LANGUAGE}

View File

@ -42,6 +42,7 @@ function locale_setup {
DEFAULT_LANGUAGE='en_GB.UTF-8'
fi
locale-gen "${DEFAULT_LANGUAGE}"
update-locale LANG=${DEFAULT_LANGUAGE}
update-locale LANGUAGE=${DEFAULT_LANGUAGE}
update-locale LC_MESSAGES=${DEFAULT_LANGUAGE}