[antlr-interest] error message internationalization

John D. Mitchell johnm-antlr at non.net
Sat Nov 20 23:22:57 PST 2004


>>>>> "Terence" == Terence Parr <parrt at cs.usfca.edu> writes:
[...]

> It even pays attention to file encoding to make message files work for
> non-8 bit message files.

Care to translate that into english?  :-)

> Further, the message files are actually string template group files (John
> Mitchell's idea I think) so you can do easy message rewriting.  For
> example, here is the start of my english/US default message file:

Yea!

[...]

> ErrorManager.error(ErrorManager.CANNOT_CLOSE_FILE, fileName, ioe);

And the ErrorManager than e.g., throws a Runtime exception so that the
controlling program can e.g., continue or choke & die as it pleases,
right?


> so there are no hardcoded error messages.  Can't wait to see error
> messages in Mandarin and Russian!

:-)

Rock on,
	John


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list