
19 Feb
2008
19 Feb
'08
3:51 p.m.
Filip Konvička wrote:
Moreover, some english strings seem to be hard-coded in program_options (exception messages, etc.) There should be another way of handling cmdline errors - we can't presume that the user understands english text. And there does not seem to be a way of translating the po exceptions to localized strings without accessing/changing some po internals.
I suspect all boost libraries share this problem, and nobody came with a nice solution for solving this. I can surely provide a hook, specific for program_options, that is called to translate messages. - Volodya