This feature is available only on the Pro plan.
A glossary is a custom dictionary that Lokalise Messages uses to consistently translate the desired terminology according to company-wide conventions.
For Lokalise Messages, the glossary is mostly useful for the following use cases:
Feature names or product UI: for example, "Dixa" should stay untranslated.
Ambiguous words: for example, the word "order" could have different desired translations depending on shipping or payments contexts.
It's important to note that the glossary for Lokalise Messages would be consumed by a machine translation engine, so glossaries that the localization team maintains usually should be truncated to keep a minimum amount of terms.
Include only one translation for the same source
For example, if you have entry like EN>DE: "Lokalise Messages">"Lokalise Messages".
Then there should NOT be similar entries, like these: EN>DE: "Lokalise Messages">"Nachrichten lokalisieren".
Glossary is case-sensitive.
If you need both capitalized and non-capitalized versions of a word to be included, you must include an entry for each version.
Terms from the glossary are applied "as is".
There won't be any adjustments in the word's shape which could reduce the translation quality for some languages. See a recommendation from Amazon about languages applicability for glossary.
Uploading a glossary
On a Glossary page, you can upload a CSV files with list of terms:
After upload you can browse and manage your glossary entries:
To change Glossary entries: click on Download terms as CSV file > make adjustments in the file > click on Delete all terms > click on Choose a CSV file to upload button.
In the example above the English word "account" will always be translated as "cuenta" for Spanish language and as "рахунок" for Ukrainian.
To add glossary entries you have to upload a comma-separated values (CSV) file with the following structure:
The first row is a header and it must contain language codes (the order doesn't matter).
Subsequent rows should contain the actual glossary entries.
Please note that glossary entries are case-sensitive.
Once the entries are imported you can download them back in the same format by clicking Download CSV.
To clear your glossary, press Delete all terms.
Please note that all languages should be submitted for each term. For example, if one term has translation specified into three languages, then all other terms should be also translated in the same three languages.