Closed Bug 1466416 Opened 2 years ago Closed 2 years ago

Document how to add intl.locale.requested in about:config

Categories

(support.mozilla.org :: Knowledge Base Content, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: public, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Build ID: 20180516032417

Steps to reproduce:

* Read how to install language packa in https://support.mozilla.org/en-US/kb/use-firefox-interface-other-languages-language-pack#w_how-to-change-the-language-of-the-user-interface (the documentation mentions `intl.locale.requested` but that didn't exist -- this should be changed to `intl.accept_languages`). To find out the correct language setting for the Swedish locale I downloaded https://ftp.mozilla.org/pub/firefox/releases/60.0.1esr/linux-x86_64/sv-SE/firefox-60.0.1esr.tar.bz2 and opened about:config, intl.accept_languages was set to `sv-SE, sv, en-US, en`
* I deleted my profile, downloaded https://ftp.mozilla.org/pub/firefox/releases/60.0.1esr/linux-x86_64/en-US/firefox-60.0.1esr.tar.bz2, extracted and started it.
  * Visited https://addons.mozilla.org/en-US/firefox/addon/english-us-language-pack/ clicked on the Swedish language pack link (https://addons.mozilla.org/en-US/firefox/addon/svenska-se-language-pack/) and installed it.
  * I opened about:config and changed intl.accept_languages to `sv-SE, sv, en-US, en` as described above, then quitted Firefox and started it to make the setting take effect.


Actual results:

It didn't work as expected, everything is still on English.

So I changed intl.accept_languages to just `sv-SE, sv` and quitted and started Firefox again, but once again nothing happened.


Expected results:

The language should have been fixed.
Summary: Cannot install language packs → Cannot install language packs by modifying intl.accept_languages in about:config
(In reply to public from comment #0)
> * Read how to install language packa in
> https://support.mozilla.org/en-US/kb/use-firefox-interface-other-languages-
> language-pack#w_how-to-change-the-language-of-the-user-interface (the
> documentation mentions `intl.locale.requested` but that didn't exist -- this
> should be changed to `intl.accept_languages`).

No, it shouldn't. intl.accept_languages is the list of languages sent to servers in the request headers. It has nothing to do with the user interface. From the above support article:

"1. In the address bar, type about:config and press Enter.
The about:config "This might void your warranty!" warning page may appear. Click I accept the risk! to continue to the about:config page. 
2. Type intl.locale.requested in the Search field.
3. Double-click the intl.locale.requested preference, if found, or add it as a new preference (see Configuration Editor for Firefox [1] for details).
4. Enter the code of the language you want to use as the string value or leave it blank to use the language of your system. This page [2] lists most of the language codes used for Mozilla localizations.
5. Click the Firefox menu ≡, then click Exit.

When you start Firefox again, you will see the interface in the new specified language."

If you've never used a language pack before, the intl.locale.requested preference doesn't exist. Right-click somewhere in the lower about:config pane and choose New, then String. As the preference name enter intl.locale.requested and as its value, enter sv-SE. Afterwards, restart Firefox for the change to take effect.

[1] https://support.mozilla.org/en-US/kb/about-config-editor-firefox#w_adding-changing-and-resetting-preferences
[2] http://l10n.mozilla-community.org/webdashboard/
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Component: Untriaged → Internationalization
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → All
Resolution: --- → INVALID
Summary: Cannot install language packs by modifying intl.accept_languages in about:config → intl.locale.requested doesn't exist in Firefox for GNU/Linux
(In reply to Gingerbread Man from comment #1)
> (In reply to public from comment #0)
> > * Read how to install language packa in
> > https://support.mozilla.org/en-US/kb/use-firefox-interface-other-languages-
> > language-pack#w_how-to-change-the-language-of-the-user-interface (the
> > documentation mentions `intl.locale.requested` but that didn't exist -- this
> > should be changed to `intl.accept_languages`).
> 
> No, it shouldn't. intl.accept_languages is the list of languages sent to
> servers in the request headers. It has nothing to do with the user
> interface. From the above support article:
> 

Thanks, but intl.locale.requested doesn't exist as I've already explained. Affected versions that I've tested:
* Firefox 60.0.1 (64-bit) for GNU/Linux: https://ftp.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/en-US/firefox-60.0.1.tar.bz2
* Firefox ESR 60.0.1 (64-bit) for GNU/Linux: https://ftp.mozilla.org/pub/firefox/releases/60.0.1esr/linux-x86_64/en-US/firefox-60.0.1esr.tar.bz2
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
(In reply to public from comment #2)
> Thanks, but intl.locale.requested doesn't exist as I've already explained.
(In reply to Gingerbread Man from comment #1)
> If you've never used a language pack before, the intl.locale.requested
> preference doesn't exist. Right-click somewhere in the lower about:config
> pane and choose New, then String. As the preference name enter
> intl.locale.requested and as its value, enter sv-SE. Afterwards, restart
> Firefox for the change to take effect.
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → INVALID
(In reply to Gingerbread Man from comment #3)
> (In reply to public from comment #2)
> > Thanks, but intl.locale.requested doesn't exist as I've already explained.
> (In reply to Gingerbread Man from comment #1)
> > If you've never used a language pack before, the intl.locale.requested
> > preference doesn't exist. Right-click somewhere in the lower about:config
> > pane and choose New, then String. As the preference name enter
> > intl.locale.requested and as its value, enter sv-SE. Afterwards, restart
> > Firefox for the change to take effect.

Thanks, I missed that. I think this should be documented in https://support.mozilla.org/en-US/kb/use-firefox-interface-other-languages-language-pack#w_how-to-change-the-language-of-the-user-interface
Component: Internationalization → Localization
Product: Core → support.mozilla.org
Version: 60 Branch → unspecified
Summary: intl.locale.requested doesn't exist in Firefox for GNU/Linux → Document how to add intl.locale.requested in about:config
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Don't forget to document that ", en-US, en" are set by default as end values for intl.locale.requested in language specific versions of Firefox that I described in my top post.
(In reply to public from comment #4)
> (In reply to Gingerbread Man from comment #3)
> > (In reply to public from comment #2)
> > > Thanks, but intl.locale.requested doesn't exist as I've already explained.
> > (In reply to Gingerbread Man from comment #1)
> > > If you've never used a language pack before, the intl.locale.requested
> > > preference doesn't exist. Right-click somewhere in the lower about:config
> > > pane and choose New, then String. As the preference name enter
> > > intl.locale.requested and as its value, enter sv-SE. Afterwards, restart
> > > Firefox for the change to take effect.
> 
> Thanks, I missed that. I think this should be documented in
> https://support.mozilla.org/en-US/kb/use-firefox-interface-other-languages-
> language-pack#w_how-to-change-the-language-of-the-user-interface

It's already documented in https://support.mozilla.org/en-US/kb/use-firefox-interface-other-languages-language-pack#w_how-to-change-the-language-of-the-user-interface  but, if the instructions are not clear enough, you can edit the article and your revision will be reviewed.  Alternatively, mention it in the article Discussion area.
Related discussion thread:
https://support.mozilla.org/en-US/kb/use-firefox-interface-other-languages-language-pack/discuss/7360 [Fx59] intl.locale.requested pref replaces general.useragent.locale (bug 1414390)
Status: UNCONFIRMED → NEW
Component: Localization → Knowledge Base Content
Ever confirmed: true
Status: NEW → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.