How do I exclude content from translation?
GlobalLink Web 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:
- 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.
- Content blocks and components that you wish to exclude from translation are best managed using a No Translate Rule, which we'll cover in this article.
No Translate Rules are implemented with a CSS class which can be added in-context from your GlobalLink Web Studio. When adding No Translate rules from Studio, you will not need any knowledge of CSS selectors.
The GlobalLink Web Studio is only accessible from the Desktop app. If you haven't already, download the Desktop app from your User dropdown menu in the top right corner of your web dashboard.
Please note that when applying No Translate Rules, you may need to wait up to 10 minutes for the change to take effect due to caching.
No Translate Rules
To exclude a specific part or section of your site - the footer, for example - go to your No Translate Rules page under Translations in the GlobalLink Web Desktop App.
No Translate Rules must be applied to block-level CSS selectors, and this is most easily done in-context from your Studio. From the No Translate Rules page, click the link to open your website in Studio:
On your webpage in the left-hand pane, right-click on the block or component that you wish to protect from translation. The selector for this block or component will be automatically added to the right-hand pane.
Click the "Add Rule" link next to the selector in the right-hand pane, and then optionally add a description for your rule in the modal. Click the blue Add button to finalize the rule:
The text you defined in your No Translate Rule will no longer translate on your website. When a user translates a page where your rule exists, that content will appear in the source language.
Any content marked with a No Translate Rule will be ineligible for translation edits in Studio. When a linguist encounters a No Translate Rule during review, they will see it clearly marked as out of scope in the context of the page they are reviewing:
Any rules added to your project will be listed on your No Translate Rules page where they can be edited or deleted as needed.