Kagi Translate does not support arbitrary unfiltered and open-ended language input for websites. I tried before commenting.
This is probably like a browser extension and 45 minutes of vibe coding. I threw together a minimal MetaMask clone in a day, a simple page translator can’t even be a fraction of that. I actually love this idea so I might do it myself.