CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 5622

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    98520×   FAQ  
Prices - CAD eShop:
DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.

See also:
Tip 14304:How to generate a report of used blocks including their visibility status in AutoCAD LT?
Tip 14260:How to extract attributes with tag names containing accents?
Tip 14075:Overview of CAD formats supported in Inventor 2025 (import/export/AnyCAD).
Tip 14039:How to display the total volume or surface of 3D solids in DWG?
Tip 13855:DBXscanLayers and DBXscanBlocks - bulk report content of DWG files in a folder.


Back   All CAD Tips



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:
Add .CIT raster format support to AutoCAD and Map and Civil 3D
CITin More info


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