moved translation of syntax errors to class SyntaxErrorMessageConverter
to allow customization of error messages
introduced class LocalizedMessage to encapsulate messages with text
localization data