Skip to content
Snippets Groups Projects
Commit a0d730ec authored by Bob Mottram's avatar Bob Mottram
Browse files

Set language before updating web ui

parent 95094884
No related branches found
No related tags found
No related merge requests found
......@@ -44,10 +44,7 @@ do
source "$f"
done
android_update_apps yes
sed -i "s|DEFAULT_LANGUAGE=.*|DEFAULT_LANGUAGE=$language|g" "$CONFIGURATION_FILE"
locale-gen "${language}"
update-locale LANG="${language}"
update-locale LANGUAGE="${language}"
......@@ -55,4 +52,6 @@ update-locale LC_MESSAGES="${language}"
update-locale LC_ALL="${language}"
update-locale LC_CTYPE="${language}"
android_update_apps yes
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment