How I can create translation rules?
In this article, you will find how to indicate if you want a (group of) word(s) to be never or always translated in a custom way.
1. How can I create a translation rule?
2. Additional information
3. What does case sensitive means?
Using Weglot, you have the possibility to create translations rules if you need to always or never translate some content in a specific way
1. How can I create a translation rule?
First of all, you can go to your Weglot Dashboard > Translations > Glossary and click on "Add translation rule":
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
- Select 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 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 be only applied to your automatic translations and not to your manually-edited translations.
- Translation rules do not avoid the translations to be generated and counted in your Current Word Usage. If you are looking for excluding 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" means?
If you check the 'Case sensitive' option, Weglot will make the difference between uppercase and lowercase characters in the content.
CASE SENSITIVE ON: The rule will be applied only to the words 'Apple':
CASE SENSITIVE OFF: The rule will be applied to the words 'Apple', 'apple', 'APPLE' or 'aPpLe', etc...