Created attachment 530966 [details, diff] Default locale correction patch Hi, Since v60 (probably v59), firefox-bin ebuild does not set the default locale anymore. STR: - merge firefox-bin-60.0.ebuild with LINGUAS=fr; - run firefox-bin; - interface of firefox is in english where it should be in french. It seems to come from two issues: - a typo in the ebuild ("linguas" instead of "LINGUAS"); - the configuration setting to set the locale has changed inside firefox since v59 ("intl.locale.requested" instead of "general.useragent.locale"). A patch is attached. Regards.
Confirmed. After migrating from firefox 52.x to firefox-bin-60.0, I have to create the "intl.locale.requested" string preference into about:config to get firefox-bin in the right language.
Confirmed. I added a string "intl.locale.requested" into about:config with desired language, after that I have right language.
Confirmed. Same here. After setting intl.locale.requested to string "de" it works again as before. Suffering from the issue for several weeks (not too bad), but I'm happy there is a solution. Should go into the ebuild imho.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94cb5aed61d1e77ba1781ae5a5cdba4eb3f98f9c commit 94cb5aed61d1e77ba1781ae5a5cdba4eb3f98f9c Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2018-06-27 00:50:31 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2018-06-27 00:57:53 +0000 www-client/firefox-bin: bump - Fix locale: LINGUAS variable should now work again. [Bug 655556] - Update QA_IGNORE_* variable. [Bug 618830] Closes: https://bugs.gentoo.org/655556 Closes: https://bugs.gentoo.org/618830 Package-Manager: Portage-2.3.40, Repoman-2.3.9 www-client/firefox-bin/Manifest | 172 +++++++++++++++++++++ www-client/firefox-bin/firefox-bin-52.9.0.ebuild | 183 +++++++++++++++++++++++ www-client/firefox-bin/firefox-bin-60.1.0.ebuild | 181 ++++++++++++++++++++++ 3 files changed, 536 insertions(+)
Thanks for the patch. I think this already stopped working for 52.x when we switched to mozlinguas-v2 eclass/L10N. I am not 100% happy about how this works, i.e. when you run `L10N="fr de" LINGUAS="fr de" ebuild firefox-bin-60.1.0.ebuild clean install` you will see > * Selected language packs (first will be default): de fr in build.log which comes from mozlinguas-v2 eclass but later you see > * Setting default locale to fr which doesn't match the previous message. However, it looks like you cannot control the order of the first list (order is controlled by MOZ_LANGS) so we will have to use LINGUAS variable... Something for the future. For now, default language should take LINGUAS environment variable into account again(?).
Hi, I confirm that it is fixed in firefox-bin-60.1.0. Thanks ! Regards.