Excluding content from translation
Some text should stay as it is in every language: your brand and product names, code samples, people’s names, or text that’s deliberately in one language. Mark it with the standard HTML translate attribute and SwiftLingo leaves it alone.
Keep a word or phrase
Section titled “Keep a word or phrase”Wrap the text in an inline element with translate="no":
<p>Welcome to <span translate="no">SwiftLingo</span>, the easiest way to translate your website.</p>Keep a whole section
Section titled “Keep a whole section”Put the attribute on a container. Everything inside it stays in the original language, including nested elements:
<div translate="no"> <h2>Legal notice</h2> <p>This section must remain in English.</p></div>How it works
Section titled “How it works”SwiftLingo skips text inside elements marked translate="no" when it collects text to translate, so it doesn’t use any of your quota either. The original text is kept exactly as it is on the translated page.
Because translate is a web standard, browser translation tools such as Chrome’s respect it too.
Exclude whole pages
Section titled “Exclude whole pages”To keep entire pages in the original language, use translation rules instead.