CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 3027 

CAD tip CAD tip # 2280:

Question CAD 
 %  platform  category 
Q - question

How to translate drawing texts to another language? (DWG translation)

A - answer You can use the TRANS add-on utility (see to translate drawing texts to another language (e.g. with Trados, Wordfast, Dejavu/DVX, or other CAT tool).

TRANS extracts Text and Mtext entities from DWG drawings into a text file (you can translate it using any automated text translation tool or by human translator) and then puts the translated texts back into your drawing (to the original places/positions and with the original properties). For batch processing multiple drawings (using script) set the FILEDIA variable to 0.

More information and download from the TRANS homepage. 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. (This tool was not tested with double-byte languages or Unicode.)

The export text file looks like this:

text of the text entity number ID1
text of the text entity number ID2

The gTRANS command starts an automatic online translation of drawing texts using the Google Translate tool. You will just specify the language pair.

For 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.

Use TRANS version 1.2 or higher for long MTexts.

gTRANS in action:

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

See also the YouTube video on using TRANS:

100% *  CAD 
20.6.2002    77699×   FAQ  
DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.

See also:
Tip 12421:Wrong units in an imported DXF file.
Tip 12347:Invalid or incomplete DXF input -- drawing discarded.
Tip 11982:Creating table with parcel numbers and areas - AreaTab.
Tip 11776:Export XYZ coordinates of DWG objects from AutoCAD LT.
Tip 11708:How to convert texts to block attributes (references)?

Back   All CAD Tips All CAD tips&tricks

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Increase your productivity with our set of BIM add-on functions for Autodesk Revit
CADstudio Revit Tools More info

Please use these tips at your own risk.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.