Translate a C/C++ header file with Trados
Thread poster: Gabriel gl12

Gabriel gl12
Local time: 04:57
English to French
Aug 19, 2008

Hello all,
I would like to know if there is a way to translate easily C/C++ header files in Trados.
Files that contains the following:

#variable "string to translate"

From Word it is possible with the Trados tw4winPrepareRC.Main macro to make all
the irrelevant strings untranslatable for RC files (Prepares a Windows resource file
for translation by marking all non-translatable parts.). Is there a way to do it for C
header files? That must exists as the file structure is quite simple.
Thank you in advance for your posts.



Local time: 04:57
English to German
tw4winPrepareRC.Main can be used for header files, too Aug 19, 2008

You can use the tw4winPrepareRC.Main macro for all kinds of source files with strings enclosed by quotation marks. It's not limited to .rc files.



Gabriel gl12
Local time: 04:57
English to French
tw4winPrepareRC.Main Aug 19, 2008

Hi Olaf,
thanks for your answer.
I have tried that and it did not give me an acceptable result.


SDL Community  Identity Verified
United Kingdom
Local time: 04:57
TagEditor Aug 20, 2008

Hello Gabriel,

I would recommend using TagEditor for this type of translation. Please read the Translating Programming Files section from the File Formats Reference Guide for more information:

Go to Start Menu -> All Programs -> SDL International -> SDL Trados 2007 -> Documentation

I hope this helps.

Many Thanks,

Gareth Powell
SDL Support Team


Local time: 04:57
English to Hungarian
Is there a way in Trados 6.5 Freelance Nov 24, 2008


Do you know if there's a solution for translating C/C++ header files with Trados 6.5 Freelance (that's what I currently have)?
Thank you very much in advance.

Cheers, Laszlo


Lutz Molderings  Identity Verified
Local time: 04:57
Member (2007)
German to English
+ ...
Passolo Nov 24, 2008

Wouldn't Passolo be best suited for this?
There's a free version available for freelancers.


To report site rules violations or get help, contact a site moderator:

You can also contact site staff by submitting a support request »

Translate a C/C++ header file with Trados

Advanced search

BaccS – Business Accounting Software
Modern desktop project management for freelance translators

BaccS makes it easy for translators to manage their projects, schedule tasks, create invoices, and view highly customizable reports. User-friendly, integration, community-driven development – a few reasons BaccS is trusted by translators!

More info »
SDL Trados Studio 2017 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2017 helps translators increase translation productivity whilst ensuring quality. Combining translation memory, terminology management and machine translation in one simple and easy-to-use environment.

More info »

  • All of
  • Term search
  • Jobs
  • Forums
  • Multiple search