jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: Questions about JSPWiki internationalization
Date Wed, 20 Feb 2008 17:43:31 GMT
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 (davidgjm@gmail.com)
>
>
> -------- Original Message --------
>> Yes ... but it also took me a while to realize that what's inside  
>> <JSPWiki-Home>/WEB-INF/i18n is useless
>> within 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  
>>>> JSPWiki
>>>> design?
>>>>
>>> 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.
>>>
>>> /Janne
>>>
>>
>
>

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Mime
View raw message