Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-02-19 10:51:19


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net