How to add Glossary rules
Our AI translations work with the Google Translate/OpenAI API. However, in some cases, you might want to pre-overwrite the transitions for specific words/phrases.
For example, you might not want to translate your brand name, or, you don't like how Google/OpenAI translates specific words or phrases and want to tell the AI to output different results when it encounters that text. In such cases, you can use the Glossary feature.
The Glossary feature affects only future AI Translations. You will need to re-translate the resources in question to update/change the translation according to your new rules.
How to never translate a word/phrase
How to always translate a word/phrase in a certain way
How it works
You can find the glossary under the Glossary tab in the main menu of T Lab:
or you can also find it in the Translations tab, in the top-right corner:
To add a new glossary rule, simply click the Add new button:
Let's say that your store's brand name is Translation Lab and you don't want this phrase to be translated. All you have to do in the newly added row is to write Translation Lab in the top field, which is your primary language:
If your intention is never translate this word/phrase, you can simply press the " apply to all" button, which will fill all languages with the same word/phrase as the original one.
After that is done, you can press "**add phrase**" and that will create your new Glossary rule which will instruct the AI to keep that translation the same as the original text the next it has to translate it.
You can also provide the AI with your own translation for a certain word or phrase.
It's not uncommon for the AI to use different formality when translating some words, or you could also prefer a certain way of translating something.
Let's take an example with such a simple word as " Hello " for German.
Both " Guten Tag " and " Hallo " would be a correct translations, depending on whether you would want to have a more informal or formal way of phrasing this.
For example, Google will translate it into the more friendly ( informal ) way - " Hallo ".
You can also create a Glossary rule and instruct the AI to always translate "
Hello
into
Guten Tag
instead.
That's all! Now, for any future AI translations, our app will not pass " Hello " to Google for translation, but will rather use this predefined dictionary to output your preferred way of translating this.
Note, that the glossary rules are case-sensitive, so you might want to add multiple rules if you have the same word phrases throughout the website starting with both upper and lower case letters.
If you have multiple cases of the same word, with both capital and non-capital letters, you will need to add each instance of it.
e.g.: if we have both " Translation Lab", " translation lab" & " TRANSLATION LAB" occuring as texts accross the store, we would need to add each instance of that word/phrase:
Keep in mind that leaving a Glossary row empty will copy the original text.
If a row is left without a value, the app will consider that it's intended to be left in the same way as the original text for that language and it will automatically apply & save it.
You can check in the list of rules:
For example, you might not want to translate your brand name, or, you don't like how Google/OpenAI translates specific words or phrases and want to tell the AI to output different results when it encounters that text. In such cases, you can use the Glossary feature.
The Glossary feature affects only future AI Translations. You will need to re-translate the resources in question to update/change the translation according to your new rules.
Show me:
How to never translate a word/phrase
How to always translate a word/phrase in a certain way
How it works
You can find the glossary under the Glossary tab in the main menu of T Lab:
or you can also find it in the Translations tab, in the top-right corner:
How to add words/phrases to your Glossary dictionary
To add a new glossary rule, simply click the Add new button:
Never translate this word or phrase
Let's say that your store's brand name is Translation Lab and you don't want this phrase to be translated. All you have to do in the newly added row is to write Translation Lab in the top field, which is your primary language:
If your intention is never translate this word/phrase, you can simply press the " apply to all" button, which will fill all languages with the same word/phrase as the original one.
After that is done, you can press "**add phrase**" and that will create your new Glossary rule which will instruct the AI to keep that translation the same as the original text the next it has to translate it.
Always translate this word or phrase in a certain way
You can also provide the AI with your own translation for a certain word or phrase.
It's not uncommon for the AI to use different formality when translating some words, or you could also prefer a certain way of translating something.
Let's take an example with such a simple word as " Hello " for German.
Both " Guten Tag " and " Hallo " would be a correct translations, depending on whether you would want to have a more informal or formal way of phrasing this.
For example, Google will translate it into the more friendly ( informal ) way - " Hallo ".
You can also create a Glossary rule and instruct the AI to always translate "
Hello
into
Guten Tag
instead.
That's all! Now, for any future AI translations, our app will not pass " Hello " to Google for translation, but will rather use this predefined dictionary to output your preferred way of translating this.
How it works
Note, that the glossary rules are case-sensitive, so you might want to add multiple rules if you have the same word phrases throughout the website starting with both upper and lower case letters.
If you have multiple cases of the same word, with both capital and non-capital letters, you will need to add each instance of it.
e.g.: if we have both " Translation Lab", " translation lab" & " TRANSLATION LAB" occuring as texts accross the store, we would need to add each instance of that word/phrase:
Keep in mind that leaving a Glossary row empty will copy the original text.
If a row is left without a value, the app will consider that it's intended to be left in the same way as the original text for that language and it will automatically apply & save it.
You can check in the list of rules:
Updated on: 19/12/2024
Thank you!