Are the clang C compiler's diagnostic messages (warning, errors, etc.) hard-coded, or does it provide a way to specify which language (as opposed to English) to emit them in? Could I provide a custom dictionary for it to use at runtime, without building my own clang from source?
Asked
Active
Viewed 425 times
1 Answers
4
Clang's diagnostics are currently hard-coded, but the system is designed to support localization. You can read some information about how it works here: http://clang.llvm.org/docs/InternalsManual.html#Diagnostics
We'd really like help localizing. If this is an area that you're interested in helping out, please contact the cfe-dev mailing list!

Chris Lattner
- 141
- 2