This proposal is very complex and for advanced use cases.
For basic websites and pages, can we simply expose a window.showTranslationPrompt(); as described here?
WICG/proposals#215
Almost all browsers already have that feature available.
The problem is that you have to go to Menu (⋮) -> Translate to trigger that prompt. Many non technical users don't see that.
The only addition would be to allow websites to trigger that translation prompt after a click on a button, instead of having the users search in the browser menu.
It would be extremely simple to add and very useful for users and websites.
This proposal is very complex and for advanced use cases.
For basic websites and pages, can we simply expose a
window.showTranslationPrompt();as described here?WICG/proposals#215
Almost all browsers already have that feature available.
The problem is that you have to go to
Menu (⋮) -> Translateto trigger that prompt. Many non technical users don't see that.The only addition would be to allow websites to trigger that translation prompt after a click on a button, instead of having the users search in the browser menu.
It would be extremely simple to add and very useful for users and websites.