i18n issues

Raoul Pierre <[email protected]>
Newsgroups gmane.comp.java.keel.devel
Message-ID <[email protected]>
Hello,

There are two main issues with Keel and  property resource files:
- Keel puts property resource files not in WEB-INF/classes,  but in 
WEB-INF directory, where they can't be found,
- Keel doesn't copy the localized property resource files, like 
ApplicationResources_es_ES.properties

In fact Keel copies only the "*Resources.properties" files from 
{project}/conf/client/struts directories. May I request that:
- all the property resource files would be copied, not only the 
"*Resources.properties"; and at least all the "*Resources*.properties" files
- part or whole of the property resource files (same rules as above) in 
subdirectories of  {project}/conf/client/struts would be copied

Last point: property i18n resource files are not specific to Struts. Or 
to web applications. Why not something like {project}/conf/client/resources?

Pierre

PS: in Struts-specific section of plugin.jelly, I put:

          <copy todir="${maven.war.webapp.dir}/WEB-INF" 
overwrite="false" flatten="true">
             <fileset dir="${basedir}/target/temp/lib">
                 <include name="*/conf/client/webapp/*.tld"/>
                 <include name="*/conf/client/struts/*.tld"/>
             </fileset>
          </copy>
          <copy todir="${maven.war.webapp.dir}/WEB-INF/classes" 
overwrite="false" flatten="true">
             <fileset dir="${basedir}/target/temp/lib">
                 <include 
name="*/conf/client/struts/**/*Resources.properties"/>
                 <include 
name="*/conf/client/struts/**/*Resources_*.properties"/>
             </fileset>
          </copy>
   


http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.