The QuickInsert group enables you to quickly insert tags which define elements and formatting in the target document for XML and HTML files. For example, you could tag text in the target document as a Heading 1 with bold formatting or you could insert a reference to an image.
Procedure
- Click and expand the File Types tree.
- Expand the type of file for which you want to create a custom QuickInsert button. See Finding the Right File Type Settings for more information the correct option.
- Click QuickInsert from the tree to open the QuickInsert page on the Options page.
- Click Add or Edit to display the Add/Edit QuickInsert dialog box.
- In the Add/Edit QuickInsert dialog box, specify a name and description. The description will be displayed as a tooltip when the user hovers the mouse over the button.
- Specify your tag settings:
- Select one of the following from the Type box:
| Placeholder tag | Select this if you want to insert a tag that does not need a closing tag. For example, an image tag |
| Tag pair | Select this if you want to insert a tag pair that has an opening and closing tag , for example <H1> and </H1>. You can also use these tags to apply formatting |
- In the Element box, select a tag from the list of available ones for the chosen file type.
- In the Attributes Name and Value box, select the attribute value pairs. For some tags, a drop-down list of attributes is provided. To provide the HTML code:
Table 1. <img src="landscape.jpg"/>
| Name | In this column, enter src |
| Value | In this column, enter landscape |
- If you selected Tag pair from the Type box:
- Select Tags can be Hidden if you do not want the actual tag pair to display during translation. Only do this if formatting is applied, otherwise the tag pair may not be visible in the Editor and could lead to document verification issues.
- Specify how the text within the tag pair is displayed in the Editor by clicking the Edit button next to the Formatting box. For example, you could choose to apply bold formatting.
- If you selected Placeholder tag from the Type box, enter the text that you want to use for linguistic processing in the Text equivalent box. This allows you to use the text equivalent of the tag when performing a lookup in the translation memory. For example, copyright uses this symbol ©, but as text for linguistic processing, you could put the text equivalent (c).
- To display the new button on the QuickInsert group, select Display in QuickInsert group.
- Click OK until all dialog boxes are closed.
Results
The new
QuickInsert button will now be added to the
QuickInsert group when you translate files that use these settings.
Note: Keyboard shortcut for quickly inserting one of your custom
QuickInsert items into the selected target segment:
Ctrl+
Shift+ the number that
SDL Trados Studio assigned to the custom button.
In the QuickInsert group , hover over your custom button to check the number assigned to it.