tags:

views:

32

answers:

1

I have a problems with H2 Database exception messages. The language of the messages corresponds to the OS language(I'm using Windows). Is it possible to turn off localization feature to get messages only on English?

A: 

No, it's currently not possible, but:

H2 error messages are in the current language, plus always also in English (concatenated to the translated message).

Why do you want to get them only in English? Each message also has an error code (SQLException.getErrorCode()) by the way.

(I added this as an answer because the person who asked the question doesn't seem to read the comments).

Thomas Mueller