[antlr-interest] Do you know how to work it out?

Loring Craymer lgcraymer at yahoo.com
Wed Apr 18 10:34:45 PDT 2007


You can ignore the error message; ANTLR error messages
are configurable, but only English is supported at the
moment.  Under org/antlr/tools/messages/languages you
will find en.stg.  In theory, you could create a
zh.stg with Chinese error messages and put it in this
directory.  In practice, that would not
work--StringTemplate would have to be modified to read
unicode input first.

--Loring

--- Xiaorui Zhang <zxrvillain at gmail.com> wrote:

> Hi, guys
> A problem occured when I tried to use xtext of the
> openarchitectureware in my project. There was an
> error message :"no such
> locale file
> org/antlr/tool/templates/messages/languages/zh.stg
> retrying with
> English
> locale". For Antrl is the building dependency of
> openarchitectureware, I
> turn to this maillist to ask if there is anyone who
> encountered the same
> problem as me. And how to work it out?
> 
> According to the error message, I guess it related
> with the language
> type,for I am using a Chinese windows XP. Plus, my
> Eclipse and all the
> plug-ins are English version.
> 
> Looking forward to your help, thank you in advance.
> 
> Sincerely yours,
> Zhang Xiaorui
> Master student of ICT
> Agder University College
> mob: +47 9429 8603
> mailTo: zxrvillain at gmail.com
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the antlr-interest mailing list