24 Oct
2007
24 Oct
'07
7:12 a.m.
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