Closed Bug 1436750 Opened 8 years ago Closed 8 years ago

Multi UI-Language does NOT work

Categories

(Core :: Internationalization, defect)

60 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bugzilla, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 Build ID: 20180207100355 Steps to reproduce: Using Firefox Nightly en-US, and OS locale same: - Installed 2 additional language packs using the instructions at: https://support.mozilla.org/en-US/questions/1018686 In my test case, i used the tr + nl packs - Set the mentioned pref to one of the new installed language packs correctly. (tr or nl) - Restart Firefox Actual results: UI stays at en-US Expected results: The UI should have changed to desired language.
Those 3-year old directions are no longer current. There's a new preference now. 1. Since you're using Nightly, you need to install language packs from the following directory, rather than the aforementioned web page. https://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central-l10n/linux-x86_64/xpi/ 2. Enter about:config into the location bar and press the big button to bypass the warning. In the lower pane, right-click and choose New, then String. As the preference name enter intl.locale.requested and as the value, enter the language code, e.g. tr or nl 3. Since you're on Linux, you might also need to toggle intl.locale.matchOS to false by double-clicking it, though this might no longer be required. 4. You must restart Firefox for the change to take effect. Additionally, if tabs and windows are set to restore at startup, they might show the old language until you select them.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Component: Untriaged → Internationalization
OS: Unspecified → Linux
Product: Firefox → Core
Hardware: Unspecified → x86_64
Resolution: --- → INVALID
Note, trying to use language packs on nightly will make you sad. We break add-on compatibility basically twice a day, and your browser may or may not update. If you want to use a multilingual setup, I suggest to use Beta, which should work most of the time. We'll be working on making this less problematic over the course of this year.
@Gingerbread Man, thanks that worked.. @Axel Hecht, I know. The reason why im using nightly is to test out features to come, prepare ahead and report bugs. Eg. get involved in the development road ;) I tried setting 'intl.locale.requested' to 'en-US,nl,tr', 'tr,nl,en-US', 'tr,nl' and variants, to use the below approaches: -Using the command line '-UILocale' as described in (2), this is not working... -Use 'LANG=xx Firefox' command line, to set language per invocation, way which didn't work either... (even with a blank or unset 'intl.locale.requested'.) Seems like Firefox only accepts the first language in ''intl.locale.requested'', to switch UI-Locales. So from this topics p.o.v. these 2 pages, so far, need correction: 1) https://support.mozilla.org/en-US/questions/1018686 2) https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options#Locale Maybe a 'dev-doc-needed' flag is in order? I'm also trying to figure out a working way to add language packs and dictionaries for all users automatically, in such a way that they will be shown in the add-on page as if they had manually installed them, eg: admin provided .xpi installs... I already have a successful working setup to remotely enforce preferences using the .cfg system. @Axel, would it be possible to add multi-language to Firefox, so users can switch UI-languages on the fly while the app is running? This would also help people to aid translators as they can give easier feedback. Currently i see no way to start Firefox with same profile but different UI-Language side by side. For me personally it's no problem as I'm using en-US, but I'm sure it would be beneficial to many users on the globe :)
never mind seems it already is corrected in: https://support.mozilla.org/en-US/kb/use-firefox-interface-other-languages-language-pack#firefox:linux:fx59 Though it should have landed on that version when visiting that page using FF 60 right? ahh well...
(In reply to ©TriMoon™ from comment #3) > So from this topics p.o.v. these 2 pages, so far, need correction: > 1) https://support.mozilla.org/en-US/questions/1018686 > 2) > https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options#Locale > Maybe a 'dev-doc-needed' flag is in order? The first is an archived support thread, not a support article. It shows you how one person's issue was solved 3 years ago. As for the developer documentation article, I don't see what needs to be added. It makes no sense to set the Firefox UI to multiple languages simultaneously, and I see nothing suggesting that's possible. > I'm also trying to figure out a working way to add language packs and > dictionaries for all users automatically, in such a way that they will be > shown in the add-on page as if they had manually installed them, eg: admin > provided .xpi installs... You've edited the relevant developer article multiple times. Did you not find what you were looking for in the sideloading and bundling with a custom Firefox sections? https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Alternative_distribution_options/Add-ons_in_the_enterprise > @Axel, would it be possible to add multi-language to Firefox, so users can > switch UI-languages on the fly while the app is running? According to bug 1425941, comment 4 the plan is to have every new window apply the new language once you switch a preference in the UI.
(In reply to Gingerbread Man from comment #6) > You've edited the relevant developer article multiple times. > Did you not find what you were looking for in the sideloading and bundling with a custom Firefox sections? > https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Alternative_distribution_options/Add-ons_in_the_enterprise No not really, because i'm using the Linux download version (*.tar.bz2) and not a debian package, which i unpacked under /opt/firefox/.... There are no clear instructions on which sub folder to use in this case, that i could find > > @Axel, would it be possible to add multi-language to Firefox, so users can > > switch UI-languages on the fly while the app is running? > > According to bug 1425941, comment 4 the plan is to have every new window > apply the new language once you switch a preference in the UI. That is great news indeed thanks !
(In reply to Gingerbread Man from comment #6) > (In reply to ©TriMoon™ from comment #3) > > So from this topics p.o.v. these 2 pages, so far, need correction: > > 1) https://support.mozilla.org/en-US/questions/1018686 > > 2) > > https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options#Locale > > Maybe a 'dev-doc-needed' flag is in order? > > The first is an archived support thread, not a support article. It shows you > how one person's issue was solved 3 years ago. Well it is the article users endup with when they try to search for the topic, maybe an addendum or something on that page should be put to inform the user that the info is outdated and incorrect with current version(s) > As for the developer documentation article, I don't see what needs to be > added. It makes no sense to set the Firefox UI to multiple languages > simultaneously, and I see nothing suggesting that's possible. What i meant there was that the info on https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options#Locale eg. the '-UILocale locale' command line switch does not seem to work for FF 60. I never asked for the Firefox UI to be in multiple languages at same time in same view xD All i asked for was an easy way to switch UI language while browsing, which bug 1425941, comment 4 seems to promise :)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: