[cfe-dev] Translate syntax error messages

Sebastian Redl sebastian.redl at getdesigned.at
Fri Aug 31 02:24:50 PDT 2012


On 31.08.2012 08:20, fiveight wrote:
> Hi,All!
>
>     I want to translate syntax error messages generated by clang into another language, can I use some tool, like gettext?
>
We are not set up for translation through external means at this time.
The only way to translate messages right now is to actually go through
the Diagnostic*Kinds.td files (in include/clang/Basic) and translate the
messages there, then rebuild Clang using the modified files.

Sebastian



More information about the cfe-dev mailing list