Translate using Translation Table
This command is designed to 'translate' drawings using a translation table created with Extract Translatable Text command. It will dramatically improve your translation speed and quality when dealing with Autocad drawings.
To start translating Autocad drawings, please refer to the overview of Extract Translatable Text command. Otherwise, read on.
How it works?
This command searches drawing(s) for text objects. If it finds a text object whose text matches an entry in the translation table, it replaces its text with the relevant translation from the translation table.
- Process multiple layouts in the current drawing and/or multiple selections within the current drawing;
- Batch-process multiple drawings opened in AutoCAD;
- Support for TEXT, MTEXT, TABLE, DIMENSION, MULTILEADER and EXTERNAL REFERENCE objects;
- Text formatting is preserved;
- Option to process specific layers only (e.g. if the text you need to translate is in 'TXT_EN' layer).
Running the command
Translate using Translation Table is launched from Autocad's Macros dialogue. Click here for more information on how to do it.
Select one of the options depending on where the text is located:
Option 1 - Full Layout(s) (default) - choose this option if you want to extract all text from specific layouts of the current drawing.
Check (tick off) the appropriate layouts. Use
and buttons to check or uncheck all layouts at once.
Option 2 - Selection(s) - choose this option if you would like to process multiple selections or layouts in the current drawing. This should be useful if your drawing has viewports and only portions of text need to be translated.
Select the appropriate layout from the drop-down list and click
to select specific objects on this layout (see below for more information) or to select everything on this layout. Each selection will be added to the list below, so you will be able to select as many layouts or selections as you want.
When you click , the dialogue will temporarily disappear and you will be able to select the desired text.
- Left-click at the top-left corner of the area you want to select, a small distance away from the very top-left object that you want to include in the selection. Then, move the mouse down and to the right until the selection fully covers the text objects, and then release click the left mouse button again. You may use the mouse wheel while dragging the mouse in order to zoom in/out on a specific area of the drawing.
- Left-click at the bottom-right corner of the area you want to select, move the mouse up and to the left until the selection at least partially overlaps all text objects you want to select, and then click the left mouse button again. With this selection method, unlike the one above, you only need to select a part of a text object and it will be included in the selection.
- Rotate the mouse wheel up or down to zoom in/out. While you do this, try to move the mouse closer to the objects you want to center the view on.
- Left-click individual objects to add them to the selection set.
- Hold down the Shift key and left-click individual objects to remove them from the selection set.
- Hold down the mouse wheel and move the mouse cursor in any direction to scroll (pan) up/down/left/right.
- Double-click the mouse wheel to zoom the drawing to its extents (i.e. zoom the screen to include the entire drawing).
Press Escape if you have selected wrong objects and would like to start again (this will return you to the Options dialogue). Press Enter when you have fully selected all objects to process (this will return you to the Options dialogue).
To remove a specific selection you made, select the item from the list and click
. Click to remove all items if you would like to start from scratch.
Option 3 - Many drawings - this option allows batch processing of several drawings opened in Autocad.
In the list you will see layouts of every drawing currently opened in the same AutoCAD application window (i.e. all drawings you can see under AutoCAD Window menu).
Check the appropriate layouts manually or click
/ buttons to check or uncheck all layouts at once.
Translation Table: Select the fully translated translation table file in Microsoft Word or Microsoft Excel format.
Change characters that are not supported in every font:
Use this option if your drawing uses a font like “romans” which does not include some Unicode characters like EN-dash and №, displaying question marks (?) instead. When this option is checked, TransTools will modify the translation text, replacing the specified characters with alternative text. For example, you can replace EN-dash (–) with a regular hyphen (-).
To specify replacement characters, press button. You will see the following dialogue:
All changes made in this list are automatically saved for future sessions.
Process specific layers only: Use this option if you need to translate text that is located in specific layer(s).
When you select this option, you will see two lists.
The left-hand list is the list of layers that need to be processed. If this list is empty, all layers will be processed.
The right-hand list contains all layers within the current drawing.
Click to add a specific layer to the list of layers you want to process (left-hand list). In batch-processing mode, you can also use button to add a layer that is not present in the current drawing. Click to remove a layer from the list of processed layers.
- Use CAT software to translate translation tables even faster.