Hi David, On Feb 18, 2008, at 6:44 PM, David Gao wrote:
Another stupid question is: how can I submit my files to JSPWiki, via JIRA or simply in CVS?
We are now using Apache's svn repository, and I don't see you on the committer list, so the best way is to create a JIRA and attach the patch to it.
If you are a committer and I simply missed you, you can directly update the svn.
Regards, Craig
David Gao ([EMAIL PROTECTED]) -------- Original Message --------Yes ... but it also took me a while to realize that what's inside <JSPWiki-Home>/WEB-INF/i18n is uselesswithin Tomcat (unless moved under classes ...).Maybe it would be better to move it away from there in the standard distro.As for the 1/n jars ... in similar situations I use to have a separate jar for all 'standard supported' languages to avoid cluttering .... which does not prevent one to add a new language just by adding under classes or, if things should grow too much (hope so!) to simply substitute the languages jar with what's really needed. Choice to you but let me know as I will provide in a while an Italian version :-) ..Luca Janne Jalkanen wrote:My questions are: Does the folder "<JSPWiki-Home>/WEB-INF/i18n" really work in running environment in terms of internationalization support?Nope!Do I have to add my localization resources to"<JSPWiki-Home>/WEB-INF/classes/" directory in order to have i18n feature? Is there any information about how i18n works in current JSPWikidesign?The easiest way is to create a JAR file of your property files, and drop that into WEB-INF/lib. Putting them in classes directory is a bit suspect, as it creates clutter. It does not matter where you put the files, as long as they are somewhere in the classpath. Though, this reminds me that we should probably create separate JARfiles for each localization (except for default English). It would bea bit cleaner, though it would add clutter, too. /Janne
Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
