generated from explainers-by-googlers/template
-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
i18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Description
Currently, There is no standard specification to detect the translation destination language by browser's built-in translation
Enabling the browser's built-in translation function does not fire the languagechange event or change navigator.language property.
There is no other way but to use the npm package, which detects the destination language in a browser-hack-like way
However the behavior may not be stable.
- https://github.com/ClaudiuCeia/detect-translation?tab=readme-ov-file#use-a-skip-to-main-contentlink-for-more-reliable-matches
- Provide your own translated text with the browser's built-in translation UI
Does the Language Detector API include specifications for detecting the destination language of the browser's built-in translation?
Metadata
Metadata
Assignees
Labels
i18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.