How do I exclude content from translation?
GlobalLink GO provides multiple ways to control what does and does not get translated on your site. You can even hide original content from appearing on a translated page, or show content only on a translated page and not on the original source page.
There are three main ways to manage what should and shouldn't be translated on your site:
- Content blocks and components are best managed using a CSS class.
- Individual words and phrases are best managed using the Glossary.
- Entire pages and your site map as a whole are best managed using the Project Scope.
In this article, we'll focus on No Translate rules implemented with a CSS class, which can be found on your dashboard under Project Settings.
No Translate Rules
To exclude a specific part or section of your site - the footer, for example - go to No Translate Rules under Project Settings in your dashboard.
The No Translate Rules are applied to block-level css selectors only.
NOTE: it is important that you chose the appropriate CSS selector. It must a block-level element, and it must be the element that contains the text nodes you want to remain untranslated.
You can use Developer Tools in your browser to investigate which CSS selector best corresponds to the content that you want to remain untranslated.
When you have identified the correct CSS selector, enter it as a No Translate Rule and save. It may take some time to become effective on your site.