|
Boost Users : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-10-24 03:12:28
Pavel Syomin wrote:
> Hi to all!
>
> I am writing some application that uses program_options. This
> application interacts with user using non-english language. Is there any
> way to translate "what" messages from exceptions to another language? At
> now I found only one way (rather hack :) ):
No, sorry.
The classic solution would be to wrap all english texts with "i18n", and
then use gettext or similar to extract such strings, prepare translations
and then use it. But, this requires changing Boost build process to actually
run gettext. I suspect somebody will surely object, since gettext is not
portable ;-)
- 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