--- firefox-bin-60.0.ebuild.orig 2018-05-12 07:58:11.334441010 +0200 +++ firefox-bin-60.0.ebuild 2018-05-12 07:59:08.052172275 +0200 @@ -121,10 +121,10 @@ # Install language packs mozlinguas_src_install - local LANG=${linguas%% *} + local LANG=${LINGUAS%% *} if [[ -n ${LANG} && ${LANG} != "en" ]]; then elog "Setting default locale to ${LANG}" - echo "pref(\"general.useragent.locale\", \"${LANG}\");" \ + echo "pref(\"intl.locale.requested\", \"${LANG}\");" \ >> "${ED}${MOZILLA_FIVE_HOME}"/defaults/pref/${PN}-prefs.js || \ die "sed failed to change locale" fi