From 2e5f4dc1c04a33e6f8843855ac3b7cf9e0d98c88 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Wed, 8 Apr 2020 12:47:03 +0300 Subject: [PATCH] Change default locale for Firefox on Ubuntu (#678) Co-authored-by: Dmitry Shibanov --- images/linux/scripts/installers/firefox.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/images/linux/scripts/installers/firefox.sh b/images/linux/scripts/installers/firefox.sh index 8a849c851..e6e28afd8 100644 --- a/images/linux/scripts/installers/firefox.sh +++ b/images/linux/scripts/installers/firefox.sh @@ -17,6 +17,10 @@ if ! command -v firefox; then exit 1 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 echo "Lastly, documenting what we added to the metadata file" # Resolves: Running Firefox as root in a regular user's session is not supported.