Hi everyone 👋
Weglot 4.69 is now available! This release contains a new feature that allows you to create variables containing multiple words.
Improvement Variable with multiple words
If you have very similar but not identical content, you may have multiple translations that would increase your total word count.
For example, if you want to welcome your customer you may have several translations such as “Hello Marie Josephine Scott”, “Hello Michael Lindsey”, “Hello Ava Silva”…
The variable feature will allow you to combine all those translations into a single one with a variable, and therefore reduce your word count.
To set them up, go to the "See details" panel then to the "Variable" tab, and click on "define variables”. From there, highlight the word (or words) you want to transform into a variable.
When creating your variable, you can now choose if it contains only one or multiple words. If you highlighted multiple words you won’t be able to change it but if you highlighted only one word you can activate the switcher, then Weglot will find all matching translations with one or multiple words.
The preview shows you the matches found, these matched translations will be deleted when you click on "Save" and replaced with a unique translation that contains a variable.