Add on-device translation to your web app.
Adds guarded on-device text translation to JavaScript or TypeScript web apps.
When to use it
Use when implementing or debugging browser translation support, language-pair checks, model downloads, sessions, streaming, quota checks, or permissions handling.
Give it a browser web app and a translation feature to implement or debug; it edits the integration and validates its behavior.
What you provide
Running the integration requires a browser supporting Translator in a secure Window context; Web Workers are unsupported.
No additional actions listed.