|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Exception text translationIn 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" <D**@discussions.microsoft.com> wrote in message Exception text is not intended to be read by end users.news:CD69442A-5165-462C-9310-684D4FD61E34@microsoft.com... > 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? 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 *** Sent via Developersdex http://www.developersdex.com *** |
|||||||||||||||||||||||