Skip to main content

Translate SAXParseException Messages?

1 reply [Last post]
papaoso
Offline
Joined: 2009-11-19
Points: 0

Hi, I need to translate SAXParseException messages to Spanish, I've already tried the getLocalizedMessage(), also implement errorHandler but there's no message Id or something, search for a .properties file but i didn't find it, can someone give me a hint, thanks in advance. Greetings.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
papaoso
Offline
Joined: 2009-11-19
Points: 0

I've found it, you need to download Xerces2-J then look for xercesImpl.jar .. go to /org/apache/xerces/impl/msg and add XMLMessages_es.properties file and pack it .. then add it to your classpath.. use getLocalizedMessage() .. and you're done ... Saludos.