Closed Bug 1755779 Opened 3 years ago Closed 3 years ago

Main Firefox menu does not re-translate after live language switching

Categories

(Core :: Internationalization, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: gregtatum, Assigned: gregtatum)

References

Details

Attachments

(2 files)

./mach run \
  --temp-profile \
  --setpref "extensions.getAddons.langpacks.url=https://mock-amo-language-tools.glitch.me/?app=firefox&type=language&appversion=%VERSION%" \
  --setpref "intl.multilingual.enabled=true" \
  --setpref "intl.multilingual.downloadEnabled=true" \
  --setpref "intl.multilingual.liveReload=true" \
  --setpref "intl.multilingual.liveReloadBidirectional=true" \
  -- \
  --new-tab about:preferences

Steps to reproduce:

  • Open Firefox in the "en-US" locale and go to about:preferences.
  • Switch to "es-ES"
  • Open the main Firefox menu

Expected behavior:

  • The panel should be translated to "es-ES".

Actual behavior:

  • The menu is still in "en-US" with "About Nightly", "Preferences", ... etc.
Attached image image.png

Most of the menus correctly rebuilt probably from the DOM change
observer, but the main menu did not. This fixes the rebuilding of the
main Firefox menu so that it will change the locale on live language
switching.

The LTR to RTL menu direction still needs fixing. See Bug 1755796.

Assignee: nobody → gtatum
Status: NEW → ASSIGNED
Pushed by gtatum@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7b41713f5f07 Rebuild the menus when there is a locale change; r=mstange
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: