Using tags

Markup languages such as HTML and XML have markup elements. Generally, an element consists of a tag pair: an opening tag (e.g. <i>) and a closing tag (</i>).

While translating documents in Across, always be sure to insert both tags of an element in the correct order in the translation: first the opening tag (icn_cDesk_tag-oeffnend) and then the closing tag (icn_cDesk_tag-schliessend).

Displaying Tag Content

Using the icn_cDesk_tag-text-teilweise-anzeigen icon in the toolbar of the Source View, you can change the display mode of the tag content. The icon affects not only the display in the Context View/Source view, but also the display of the tag contents in the Target Editor and the display of the external in the crossView.

Depending on the selected settings, the tags and their contents are displayed differently:

Tag view
Description
Example
No tag text (icn_cDesk_tag-text_nicht-anzeigen)
Only the tag icons are displayed. The tag information is not displayed.
cDesk_source-view_darstellung-tags_text-nicht-anzeigen
Partial tag text (icn_cDesk_tag-text_teilweise-anzeigen)
The names of the inline tags are displayed.
cDesk_source-view_darstellung-tags_text-teilweise-anzeigen
Full tag text (icn_cDesk_tag-text_vollstaendig-anzeigen)
The names of the inline tags as well as any attributes and attribute values are displayed.
cDesk_source-view_darstellung-tags_text-vollstaendig-anzeigen

Inserting Tags

The easiest way to insert a tag in the translation is to set the cursor where you want to insert the tag and then to double-click the respective tag.

  • Alternatively, you can use keyboard shortcuts for inserting tags in the translation:
  • Press Ctrl+Shift+1 to copy the first tag of the current source paragraph to the Target Editor, Ctrl+Shift+2 to copy the second tag, etc.
  • Press Ctrl+Shift+Ins to insert the current tag in the Target Editor: The first use of the keyboard shortcut will insert the first tag of the active paragraph in the target text, the second use the second tag, and so on.

Editable Attribute Values

The opening tags of the elements often contain attributes and attribute values that specify the elements. By default, the attributes and attribute values are displayed as integral part of the opening tags in crossDesk and cannot be translated. Sometimes, however, it may be necessary to modify the attribute values in the translation, e.g. in case of hyperlinks that need to be adjusted to the target language. For this purpose, the editing of the attribute values in the Target Editor can be enabled in the respective document settings template. In this case, enter the translation between the two elements of the opening tag (e.g. icn_cDesk_tag-oeffnend_mit-attribut and icn_cDesk_tag-schliessend_mit-attribut).

Tip

In crossView, attributes are shown with a icn_cDesk_cView_attribut icon, and elements with a icn_cDesk_cView_element icon.