CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 2578 

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 www.cadstudio.cz) 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:

{ID1}
text of the text entity number ID1
{ID2}
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:

ACADMDTADTMap
100% *  CAD 
20.6.2002    52241x   FAQ  
Comments   Tell a friend
applies to: AutoCAD · MDT · AutoCAD Architecture · AutoCAD Map ·
DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.

See also:
Tip 9911:How to copy an AutoCAD DWG drawing into MS Word or other Office software?
Tip 9814:Export text from DWG drawings to Excel.
Tip 9561:iLogic macro for exporting IDW/DWG Inventor drawings to DXF.
Tip 9149:Total area of selected regions (by layer)
Tip 9143:Point export error: No points were transferred from the source


Back   All CAD Tips All CAD tips&tricks

How to make DWF from Excel, Word, AutoCAD 12 or other applications? « | » How to get rid of the "proxy warning" dialogs when opening a DWG file?

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   



Featuring:
Generate hatch patterns automatically from your DWG drawings with
HGEN 2006 More info


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