This article is for Translators and Editors.
Formatting and order of content in a translated string may need to be different than its source. In this article, learn how to insert, remove, or move HTML tags and placeholders while translating in the Smartling CAT tool.
Tags and Placeholders
Tags represent inline HTML in source content. They are represented as a number or HTML tag highlighted in grey .
Placeholders protect dynamic content populated by a customer's application that doesn't need to be translated. If the customer has integrated properly with Smartling, placeholders will be represented as character(s) highlighted in grey and surrounded by curly braces .
Tip callout: See strings missing placeholders? Report the string to your customer so they can correct the issue.
Copy Tags or Placeholders From Source to Translated String
There are multiple ways to copy tags and placeholders from source content to the translation field in the CAT tool:
- Use the keyboard shortcut command+shift+I.
- Start typing a tag or placeholder that exists in the source field, and the tool will suggest a tag to insert into the translation field.
- Click on a tag or placeholder in the source field.
Tip callout: Want to see the code view of a tag? Click the tag toggle in the editor toolbar.
Insert Tags into Translated Strings
If a translated string requires different formatting than the source, click on a formatting tag option in the editor toolbar or the keyboard shortcut that's displayed on hover over:
This will insert the tag where your cursor is placed in the translation field.
Tip callout: Don't like the default shortcuts for tag management? Learn how to Customize your Keyboard Shortcuts.
Move Tags and Placeholders in Translated Strings
To rearrange the order of tags or placeholders, click on the tag in the translation field and drag it to a new location:
Delete Tags or Placeholders in Translated Strings
To delete tags or placeholders, place your cursor in front of the tag or placeholder you want to remove, and click delete.
Warning callout: If tags exist in the source string that have not been inserted into the translated string, you will get an error upon save.