2019.2

Table Of Contents
Note
Changing the text in a tagged element will break the relationship with the translation
entry. This means that the text will not be translated. Edit the entry in the Translations
pane or use the Sync button on the "Translations pane" on page1048 to restore the
connection.
Same text, different translation
Should the same text be translated differently in different locations? Then you need to add a
'context' to the translation entry:
1.
Double-click the translation entry, or select an element and press the Ctrl key when you
click the Tag Element button.
Tip
Pressing the Ctrl key when you click the Tag Element button opens the Translation
String Options dialog.
2.
In the Context field, describe where the source text is used, for example: "This text is in
the head of a table", or "Table|Head"
The description is added to the <data-translate> attribute of the HTMLelement in which the
source text is located, as its value, for example: <data-translate="Table">.
Note that a translation will only be applied if the value of the <data-translate> attribute of the
respective HTML element is exactly the same as the given Context (case-sensitive).
Tagging text in snippets
If the text that you want to tag for translation is located in a snippet, do not tag it in the section
where the snippet is used. Instead, open the snippet (see "Snippets" on page737) and tag the
elements inside the snippet as described above.
Page 910