Open
Bug 1821057
Opened 2 years ago
Updated 1 years ago
[meta] Remove manual `translateElements` and `translateFragment` calls that are hacking around fluent translation async-ness during pageload
Categories
(Firefox :: General, task, P3)
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox112 | --- | wontfix |
People
(Reporter: Gijs, Unassigned)
References
(Depends on 7 open bugs)
Details
(Keywords: meta)
A non-trivial portion of https://searchfox.org/mozilla-central/search?q=translateElements%28&path=js&case=false®exp=false and https://searchfox.org/mozilla-central/search?q=translateFragment%28&path=js&case=false®exp=false should be removable now that bug 1819664 means we don't fire the load
event until l10n has taken place, even for strings only set during DCL or similar.
We should audit these callers and check which ones can be removed.
Reporter | ||
Updated•2 years ago
|
Component: Internationalization: Localization → General
Flags: needinfo?(gijskruitbosch+bugs)
Product: Core → Firefox
Reporter | ||
Comment 1•2 years ago
|
||
I've gone through translateElements
but still need to look at translateFragment
. I also wonder if there are docs that need updating.
Reporter | ||
Updated•2 years ago
|
Flags: needinfo?(gijskruitbosch+bugs)
Comment 2•1 years ago
|
||
:Gijs, should this be a meta bug? Can you help triage it?
Flags: needinfo?(gijskruitbosch+bugs)
Reporter | ||
Comment 3•1 years ago
|
||
Sure.
Severity: -- → N/A
Flags: needinfo?(gijskruitbosch+bugs)
Keywords: meta
Priority: -- → P3
Summary: Evaluate removing manual `translateElements` calls that are hacking around fluent translation async-ness during pageload → [meta] Remove manual `translateElements` and `translateFragment` calls that are hacking around fluent translation async-ness during pageload
Updated•1 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•