jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lgilardoni61@gmail.com" <lgilardon...@gmail.com>
Subject Re: Questions about JSPWiki internationalization
Date Mon, 18 Feb 2008 16:21:26 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
Yes ... but it also took me a while to realize that what's inside
&lt;JSPWiki-Home&gt;/WEB-INF/i18n is useless<br>
within Tomcat (unless moved under classes ...).<br>
Maybe it would be better to move it away from there in the standard
As for the 1/n jars ...&nbsp; in similar situations I use to have a separate
jar for all 'standard supported'&nbsp; languages <br>
to avoid cluttering .... which does not prevent one to add a new
language just by adding under classes or,<br>
if things should grow too much (hope so!) to simply substitute the
languages jar with what's really needed.<br>
Choice to you but let me know as I will provide in a while an Italian
version :-) ..<br>
Janne Jalkanen wrote:
<blockquote cite="mid:20080218115408.GB13852@ecyrd.com" type="cite">
  <blockquote type="cite">
    <pre wrap="">My questions are:
       Does the folder "&lt;JSPWiki-Home&gt;/WEB-INF/i18n" really work in 
running environment in terms of internationalization support?
  <pre wrap=""><!---->

  <blockquote type="cite">
    <pre wrap="">       Do I have to add my localization resources to 
"&lt;JSPWiki-Home&gt;/WEB-INF/classes/" directory in order to have i18n feature?
       Is there any information about how i18n works in current JSPWiki 
  <pre wrap=""><!---->
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 JAR
files for each localization (except for default English).  It would be
a bit cleaner, though it would add clutter, too.


View raw message