Firefox builtin starts with English menu
EasyOS Kirkstone-series, version 5.9 announced yesterday, has Firefox browser builtin. Firefox was built in woofQ by specifying the 'firefox-skeleton' PET package and downloading the official en-US Firefox and langpacks via the '1download-latest-firefox' script; see these commits:
"1download-latest-firefox has all langpacks"
https://github.com/bkauler/woofq/commit/2dc8c9949b896c59a174c0d4ac74a6788c26f072
"3buildeasydistro: build from firefox-skeleton pet"
https://github.com/bkauler/woofq/commit/224c82b96cf0196798b2022ffd960be6fecd1043
"firefox-skeleton pet fixes"
https://github.com/bkauler/woofq/commit/1c4c11a6def00751ee59aeb8f0fe7ad72c835325
The problem was, at first bootup, if I choose a non-English language, say "it" (Italiano), Firefox still started in English, and it was required to go into the Setup and choose the Italian language pack.
I could not find the solution for this. The official Mozilla documentation is that Firefox will read the $LANG variable and set the default language accordingly. If not, there was various advice, such as clear cache, but nothing worked. So, I implemented a workaround, see this code added to /etc/rc.d/rc.sysinit:
"rc.sysinit: firefox start with correct langpack"
https://github.com/bkauler/woofq/commit/dd2d03079ca261cf0c4e0129c5be8d1cb39ce9ea
Kirkstone-series 5.9 has this fix.
Tags: easy