Search code examples
htmlmobile-safaritranslate

How do I prevent Safari from offering to translate a page?


I run a website that is in English but iOS 14 mobile Safari still offers to translate the page. How do I prevent this?

From this similar question I've found none of these work:

1. <html lang="en">
2. <html translate="no">
3. <meta name="google" content="notranslate">
4. <meta http-equiv="content-language" content="en" />

Solution

  • I submitted this issue to Apple and it was fixed with iOS and macOS releases in December 2021.

    A WebKit engineer via Twitter exchange suggested I submit the specific instance of my issue with the URL in question to Apple using Feedback Assistant. I did this and was then asked to test with builds 19D5026g (iOS) and 21D5025f (macOS). These fixed the issue.