Re: i18n

Raoul Pierre <[email protected]> Tue, 26 Jul 2005 17:10:55 +0200
Newsgroups gmane.comp.java.keel.devel
Message-ID <[email protected]>
Uta,

>I am using a keel setup with cocoon and it works all well. Now
>I would like to intgrate the latest version of crud from the CVS HEAD
>to use the i18n features. To use this I had to migrate to the maven
>build system and I tried to build crud with maven jar. It gives me
>a set of compilation errors complaining about the getMessage function
>not found. How can I get hold of the latest crud version?
>  
>
You need to updated dependencies with keel-core as the getMessage 
functions are defined in StandardLogEnabledModel and 
ThreadedLogEnabledModel.

>I translated the Messages in Struts to German Resource bundle for crud.
>Has anybody got experience how to bind this to cocoon?
>  
>
Can't help about Cocoon.

But I think that conf/client/struts is not the right place to put the 
properties files. I'd prefer something more neutral like 
conf/client/resources. Any comments?

>How can I commit the translated file to the keel project?
>  
>
If you send them to me, I'll do it. Did you translate only messages 
already with key or did you add new keys?

Other point: what about a policy for property key names? There is some 
specific keel rules about first part of them (schema name with dot for 
entity metadata). But I think it would be usefull to use some common rules.

Note: next week I hope to begun transfer treatment of dynamic messages 
from StrutsClientConnector to AbstractWebappClientConnector.

Pierre



http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com