Open
Bug 1961130
Opened 29 days ago
Updated 11 days ago
UI not fully translated when using langpack
Categories
(Core :: Internationalization: Localization, defect)
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox139 | --- | affected |
People
(Reporter: jhorak, Assigned: jhorak)
Details
Attachments
(2 files)
When user installs additional langpack some of the buttons are not correctly translated. See the screenshot.
Reproduction steps:
- put cs langpack xpi into the
distribution/extensions
(but it's not cs langpack specific) - set
intl.locale.requested
to empty string - Run firefox by:
LC_ALL="cs_CZ.utf8 firefox"
- Try to quit firefox to get a prompt.
Looks like the the problem lies in nsStringBundle.cpp where
when the intl:app-locales-changed
observer calls flushBundleCache
which removes only some of the mBundleMap keys. Records which are not cached (which are not in mBundleCache) and are in the mBundleMap are not cleared.
In my case only following cache records are flushed:
resource://gre/res/locale/layout/HtmlForm.properties
resource://gre/res/locale/dom/dom.properties
chrome://global/locale/intl.properties
There's rest of mBundleMap content:
Key: chrome://global/locale/dom/dom.properties
Key: chrome://global/locale/svg/svg.properties
Key: chrome://global/locale/security/security.properties
Key: chrome://global/locale/commonDialogs.properties
Key: chrome://global/locale/layout/HtmlForm.properties
Key: chrome://global/locale/css.properties
Key: chrome://global/locale/layout_errors.properties
Key: chrome://global/locale/printing.properties
Key: chrome://global/locale/mathml/mathml.properties
Key: chrome://necko/locale/necko.properties
Key: chrome://global/locale/xul.properties
Key: chrome://global/locale/layout/htmlparser.properties
Key: chrome://branding/locale/brand.properties
Calling mBundleMap.Clear()
in for the intl:app-locales-changed
observer handler help for me.
Assignee | ||
Comment 1•29 days ago
|
||
Comment 2•15 days ago
|
||
The severity field is not set for this bug.
:eemeli, could you have a look please?
For more information, please visit BugBot documentation.
Flags: needinfo?(earo)
Updated•11 days ago
|
Severity: -- → S3
Flags: needinfo?(earo)
You need to log in
before you can comment on or make changes to this bug.
Description
•