Open Bug 1910486 Opened 2 months ago Updated 2 months ago

Run language detection on elements that have a `lang` tag, and translate conditionally on the result

Categories

(Firefox :: Translations, enhancement)

enhancement

Tracking

()

People

(Reporter: gregtatum, Unassigned)

References

(Blocks 1 open bug)

Details

The web is messy, and sometimes content in a CMS will incorrectly label elements as from another language, e.g. lang="en". See Bug 1907597. In order to get around this, and still respect the hint that content may be in a different language, we should perform language detection on any elements that have a lang tag in a different language, rather than just skipping them. Then conditionally translate them if they match the source language in the translation.

See Erik's comment here: https://bugzilla.mozilla.org/show_bug.cgi?id=1907597#c5

Blocks: 1845772
You need to log in before you can comment on or make changes to this bug.