Exception text translation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In order to completely globalize a .Net application it must be possible to
translate the messages of system exceptions to other languages.
Of course it's possible to catch the system exceptions and rethrow them with
translated messages, but in a large system you want to translate them
globally in the application (in one place)

Is this possible?
Any third party products?
 
Dan said:
In order to completely globalize a .Net application it must be possible to
translate the messages of system exceptions to other languages.
Of course it's possible to catch the system exceptions and rethrow them
with
translated messages, but in a large system you want to translate them
globally in the application (in one place)

Is this possible?
Any third party products?

Exception text is not intended to be read by end users.

Your app should log the exception somewhere and your users should then email
you the log which they have no need to understand.

Of course - if you mean library rather than app then there MIGHT be a case
for translation but the simplest way would be just to prefix the text with
an error number and have them look it up in a file.
 
Why not just define a set of generic error messages and log the real
exception for your own use? Having "Problem saving order. Staff have
been notified." in ten languages might be enough.

BugSentry needs beta testers!
www.bugsentry.com
 
Back
Top