Support multiple fallback locales in i18n API
Categories
(WebExtensions :: General, defect, P3)
Tracking
(firefox139 fixed)
Tracking | Status | |
---|---|---|
firefox139 | --- | fixed |
People
(Reporter: danny0838, Assigned: carlos-mozilla)
References
Details
(Keywords: dev-doc-complete, Whiteboard: [wecg])
Attachments
(1 file)
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Updated•7 years ago
|
Updated•3 years ago
|
Comment 3•10 months ago
|
||
I discussed this with Eemeli and others from the WECG and I18n groups at TPAC. We are supportive of implementing this in Firefox - https://github.com/w3c/webextensions/issues/296#issuecomment-2369812944
Comment 4•10 months ago
|
||
Patches are welcome.
Implementation pointers:
- We build a map of locale data (that directly feeds into the
i18n.getMessage
API) at https://searchfox.org/mozilla-central/rev/1e8cec3727d6e09f4af41bb3d202b7a4c326ed84/toolkit/components/extensions/Extension.sys.mjs#2247-2259 - The manifest.json file is localized at https://searchfox.org/mozilla-central/rev/1e8cec3727d6e09f4af41bb3d202b7a4c326ed84/toolkit/components/extensions/Extension.sys.mjs#1503-1532
Updated•9 months ago
|
Updated•3 months ago
|
Comment 9•3 months ago
|
||
bugherder |
Comment 10•3 months ago
|
||
Should we add this to the Fx139 relnotes? Please nominate if yes.
Comment 11•3 months ago
|
||
Only as part of https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/139#changes_for_add-on_developers
... which is covered by the dev-doc-needed
keyword that I have added (which should also include updated content in https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Internationalization).
Comment 12•3 months ago
|
||
Release note added in Bug-1381580 cascading locales support release note #39013. My reading of the internationalization guide is that it already documents this behavior, so no changes are needed.
Description
•