Block browser translation on my web app

Is there a way to add translation=no to the tag as an application wide setting?
The App is almost 100% java based.

In onAttach in my AppLayout, I seem to be able to do getParent() until , but not beyond that.
So, I could add class=“notranslate” to the body tag use setAttribute(); and do that for every page in the app, but it feel a bit strange to do it that way. Also, because it’s an easy thing to forget when more pages are being added in the future.

Kind regards,

You might be able to use a parent layout and add the tag at the parent.