CAT Editors

Tags (TMS)

Content is machine translated from English by Phrase Language AI.

Tags represent non-translatable text; some CAT tools refer to them as placeholders. Non-translatable text can represent variables, special formatting, formal names, code, etc.

Tags must be copied from source to target to ensure formatting and variables are preserved correctly in the exported target file.

Important

Issues with tags are a common cause of export errors, especially for file types such as spreadsheets (MS Excel based) and .XML. Always ensure tags and formatting are correct before exporting files by running quality assurance checks.

Expand tags with Ctrl+Shift+E from the web editor, Ctrl+Shift+T from the desktop editor, or from the Edit menu.

Tag Types

There are four types of tags:

tags_overview.jpeg
  1. Unpaired/single tags

    Represent, as an example, the position of a footnote in a segment or a joined segment.

    Insert unpaired tags by clicking on a required location in the text and click F8.

    Unpaired tags are singular.

  2. Custom tags

    To insert a custom tag or custom paired tag into the target:

    • From the Edit menu, select Tags , Create Custom Tag or Create Custom Paired Tag.

      The custom tag is displayed as grey instead of blue.

    Custom tags can only be added to file formats supporting tags in the completed file (such as HTML).

  3. Joined Tags

    Joined segments tags are a special type of unpaired tag. The joining point is indicated with the {j} tag.

  4. Paired tags

    Represent formatting that spans across a section of text. As an example, a section of text in a segment may have a different font or a section of text may be highlighted.

    Paired tags have an opening and a closing.

    Insert paired tags by selecting the text to be tagged and click F8.

Tags are not included in the word count when calculating an analysis. Each join tag is replaced with one space.

Using Tags

Incorrect tagging can lead to improper translations. If tags are missing in the target, Phrase attempts to auto-complete when the completed target file is being generated. If missing or incorrect, add tags manually to the target and in as close a position and order as possible when compared to the source.

Tags in source

If tags are removed from a source, QA can not correctly check it against the target. A Can't download file with missing tags... error is presented on file export with no QA tag warnings.

If this occurs, follow these steps:

  1. Export the job to a bilingual .TMX file.

  2. Import the .TMX file into a temporary TM.

  3. Re-import the original file.

  4. Pre-translate the new job using the temporary TM.

  5. Check the pre-translation results, and run QA against the new job with Formatting and tags enabled.

  6. If successful, the temporary TM can be populated by confirming the segments and it can be imported into the main TM.

Inserting tags to targets

Tags are inserted through either the Edit menu or keyboard shortcuts F8 or CTRL+ALT+# to specifically number the tag and Ctrl+, to insert by section.

Editing Tag Content

To edit target tag content, follow these steps:

  1. Press CTRL+SHIFT+E in the web editor, Ctrl+Shift+T in the desktop editor or from the Edit menu, select Tags , Expand Tags.

    Tag content is presented.

  2. Click a tag to be edited in the web editor, click a tag and press F2 in the desktop editor.

    Edited tags are displayed in yellow to indicate differences from a source tag.

Quality Assurance

The quality assurance feature can be used to ensure tagging is in place and accurate.

If a project has been set up to check tags by the Project manager, missing or incorrect tags will prevent the export of a valid translated document.

Importing with Tags

As tags are used to mark parts of a text with different formatting most of these format changes are obvious. Common tags are different fonts, font sizes, or colors. Some tags, such as style changes, are minor and may not be as visible.

If a file type has options for how tags are imported, they are defined in file import settings when creating a job.

Imported files containing many unseen tags may generate the TOO_LARGE_INPUT: Too large tag metadata of source text of segment no. ... error due to too much metadata. This easily occurs with the import of complex file types such as .PDF that have been converted to text formats.

When importing text files it is suggested:

  • If converting a .PDF file using an OCR program, save as plain or unformatted text. Open the file in a text editor to apply required formatting such as adjusting fonts, font size, colors, columns, spacing, etc.

  • There are a number of tools available for cleaning text files of extra code. CodeZapper is recommended.

  • Use the Minimize number of tags option when importing text files. This option attempts to remove all tags considered unnecessary from the source text imported for translation. This is an automated process and may remove required formatting. If using this option, compare the completed file with the original document to ensure required formatting is in place.

Imported slides may show many formatting tags in the editor. The formatting tags could have been applied during the conversion from the original format (e.g. PDF) to preserve the original appearance as much as possible: wide and narrow text spacing, subscripts and superscripts, different text colors, varying font sizes, etc.

In such case, re-saving the file as .PPT or using online tag cleaner tools is recommended.

Was this article helpful?

Sorry about that! In what way was it not helpful?

The article didn’t address my problem.
I couldn’t understand the article.
The feature doesn’t do what I need.
Other reason.

Note that feedback is provided anonymously so we aren't able to reply to questions.
If you'd like to ask a question, submit a request to our Support team.
Thank you for your feedback.