CAD Studio - CAD/GIS/PLM solutions
English Deutsch Cesky Slovensky
Trans

Trans - AutoCAD text translation

Translate drawing texts to another language - manually or automatically


TRANS utility

You can use the TRANS add-on utility to translate AutoCAD drawing texts to another language - either manually, or CAT-assisted (e.g. with Trados or other CAT tool), or automatically (via Bing or Google Translate).

TRANS extracts (exports) Text and Mtext entities, block attributes, dimensions, leaders, tables and Mechanical Notes from AutoCAD drawings into a text file (you can then translate it using any automated text translation tool or by human translator) and then puts the translated texts back into your DWG drawing (to the original places/positions and with the original properties). The automatic mode employs the API of the online tool "Google Translate" to perform language translation between the specified language pair.

TRANS is compatible with AutoCAD 2014, 2013, 2012, 2011, 2010, 2009, 2008, 2007, 2006, 2005, 2004 and all vertical versions of AutoCAD (Architecture, Mechanical, Map, Civil 3D...).

Usage

Drag the trans.vlx file into your AutoCAD session or use the APPLOAD command to load it. Use the TR_WRITE and TR_READ commands to export and then re-import your drawing texts. TR_WRITE works with the object types TEXT, MTEXT, DIMENSION, MULTILEADER, and block attributes.

The export text file looks like this:

{ID1}
text of the text entity number ID1
{ID2}
text of the text entity number ID2
{ID3}
[row-col]text of the cell of the table object number ID3

An example:

{279C}
All materials used on the model are listed in the following table
{28A1}
[1-1]List of materials
[2-1]Chassis
[2-2]Steel 3412
[3-1]Wheels
[3-2]Rubber gray

Just translate this text and re-import it back to AutoCAD.

For batch processing of multiple drawings (using script) set the FILEDIA variable to 0.

Using with TRADOS

Type the TR_WRITE command in the command line and press Enter. Select the TXT filename for output. Select the complete drawing or just the parts of the drawing you want to translate and press Enter (make sure all text layers are on and unlocked). Open the exported TXT file in Word and save it as RTF. Translate the RTF file with Trados - do not change the text in parenthesis {}. Clean the translated RTF file. Open the cleaned RTF file and save it as TXT (text only). Return back to AutoCAD and enter the command TR_READ. Locate the translated TXT file - the texts in your drawing will be replaced with the translated text. If you get garbled accented characters, try to change the "encoding" option when saving translated files in Trados (e.g. Eastern Europe).

Automatic translation

gTrans - translation pairs The second method included in TRANS (since V1.2) is the gTRANS and bTRANS command. These commands use the online translation tools Google Translate or Microsoft Bing Translator to automatically translate selected text objects (texts, mtexts, block attributes) into another language. The usage terms are subject to the Google's and Microsoft's license policy and its possible future changes. Google has limited the access to its Translate API (10/2011), so Bing and bTRANS is now the primary method of online translation in TRANS.

First select the translation pair (e.g. EN-DE) and then select the text objects to translate. The texts are translated immediately (in-place). Some formatting codes may be lost during this online translation. Double-byte languages are not supported.

You can modify the list of languages by setting the LISP variable gTrans_langlist - e.g.:
(setq gTrans_langlist '(("en" . "English")("nl" . "Nederlands")("no" . "Norsk")("sl" . "Slovenski") ))

You can also use gTRANS or bTRANS to "pre-translate" your drawing texts for later manual TR_Write translation.

Sample video

click to start animation
Using automatic translation via Google Translate
(click to start animation)

History

  • Version 1.2 (8/2009) adds support for long MTexts in AutoCAD 2009+2010, and the gTRANS autotranslation command. TRANS is now a shareware utility (with limited trial version).
  • Version 1.3 (8/2009) - adds Undo and CMDDIA support for gTRANS.
  • Version 1.4 (6/2011) - CADstudio rebrand
  • Version 1.5 (8/2011) - web communication fix for gTrans
  • Version 1.6 (8/2011) - added tables, fixed block attributes; block attributes in gTrans
  • Version 1.7 (9/2011) - fix for accented characters (CZ/SK/DE)
  • Version 1.8 (11/2011) - fix for Google API limitation error message
  • Version 1.9 (11/2011) - added support for Microsoft Bing Translator
  • Version 1.10 (1/2012) - added support for AutoCAD Mechanical Note objects (AMDTNOTE)

Problems

This tool does not support double-byte languages nor Unicode (UTF-8). You have to use the appropriate 8-bit codepage (ASCII-based) for the accented characters (as Windows default). Not all language pairs are supported by Google/Bing.

Please send possible questions and problems to support@cadstudio.cz or use our discussion forum.

Please send inquiries about custom application development to: info@cadstudio.cz.

TRANS Trial + Buy/Order

The limited trial version is free for download. The trial version has no long-text support, no multileader support, and gTRANS works only for texts up to 180 characters and a trial notice is added to MTexts.

If you are interested in the full unlimited commercial version, use the Order below or contact CAD Studio. Use the CADSTUDIOREG command to enter your authorization code and unlock the full functionality of TRANS.

Price of the commercial version of TRANS is 39,-EUR Buy TRANS (for AutoCAD)
Czech users (pro Česko a Slovensko): CAD eShop - TRANS

Download the TRANS application (for AutoCAD)


© 2014 CAD Studio a.s. | contact | webmaster | privacy