Change default locale for Firefox on Ubuntu (#678)

Co-authored-by: Dmitry Shibanov <v-dmshib@microsoft.com>
This commit is contained in:
Dmitry Shibanov
2020-04-08 12:47:03 +03:00
committed by GitHub
parent 7638aeec3e
commit 2e5f4dc1c0

View File

@@ -17,6 +17,10 @@ if ! command -v firefox; then
exit 1 exit 1
fi fi
# add to gloabl system preferences for firefox locale en_US, because other browsers have en_US local.
# Default firefox local is en_GB
echo 'pref("intl.locale.requested","en_US");' >> "/usr/lib/firefox/browser/defaults/preferences/syspref.js"
# Document what was added to the image # Document what was added to the image
echo "Lastly, documenting what we added to the metadata file" echo "Lastly, documenting what we added to the metadata file"
# Resolves: Running Firefox as root in a regular user's session is not supported. # Resolves: Running Firefox as root in a regular user's session is not supported.