2019.1

Table Of Contents
3.
Click the Tag Element button in the toolbar of the Translations pane. This adds the
data-translate attribute to the element. (Attributes are visible on the "Source tab" on
page991.)
If there was no translation entry with the same text already, the text of the tagged element is
copied to a new translation entry on the Translations pane.
One translation entry works for all HTML elements that are tagged for translation and have
exactly the same text.
Note
Remember, only text in HTML elements that are tagged for translation get translated in
the output.
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988 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.
Page 852