How I can create translation rules?
This article will teach you how to configure your translation rules so that Weglot will always translate a word or a group of words in a certain way (or never translate them at all).
1. How can I create a translation rule?
3. What does case sensitive mean?
You can create translation rules that will instruct Weglot to always or never translate content in a specific way, giving you further control over your translations.
1. How can I create a translation rule?
First, go to your Weglot Dashboard > Project(s) and click Glossary in the translation section.
You'll then see a pop-up allowing you to create a translation rule:
- Select the type of rule you want to apply to your translations: Never translate or Always translate
- Decide if you want the rule to be applied to all the language pairs or just to a specific one
- Then, type the (group of) word(s) you want to always/never translate. There is a limit of 5 words per rule.
- Finally, click on the "Save" button.
Your rule has now been added to your Glossary.
2. Additional information
- You can delete a rule at any moment by clicking on the trash icon on the right-hand side of the rule.
- Translation rules will only be applied to your automatic translations and not to your manually-edited translations.
- Translation rules do not prevent the translations from being generated and counted in your Current Word Usage. If you want to exclude some content from the translation, you'll need to exclude the URL page or the CSS selector. See: How to exclude URLs/blocks/words from translation? (Points 1 and 2 only).
3. What does "Case sensitive" mean?
If you check the 'Case sensitive' option, Weglot will differentiate between uppercase and lowercase characters in the content and treat them as separate words.