Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3798: translate error messages
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-28 15:19:07
#3798: translate error messages
--------------------------------------------+-------------------------------
Reporter: Alex Bukreev <bucreev@â¦> | Owner: vladimir_prus
Type: Feature Requests | Status: new
Milestone: Boost 1.42.0 | Component: program_options
Version: Boost 1.41.0 | Severity: Cosmetic
Keywords: |
--------------------------------------------+-------------------------------
Changes (by s_ochsenknecht):
* cc: s.ochsenknecht@⦠(added)
Comment:
I think exception classes are not the point for internationalization. See
also [http://www.boost.org/community/error_handling.html Error handling in
boost].
The problem with the what() text of exception classes is that it can not
fit everybody's need.
I suggest to catch the exceptions in the user's code and perform any
needed action there (translation, error message, etc.) depending on the
type of the exception. Or live with the text which what() returns.
Thanks,
Sascha
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3798#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC