The i18n files are not meant to be customized by people using JSPWiki, it is a mechanism to facilitate multiple languages, and not to (on site) customize all message strings, but you can do it of course. So the procedure you describe is basically correct, I can't think of an easier way.
/Harry 2009/4/17 Roland Whitehead <[email protected]> > OK, delve a little deeper before asking and you might fix it yourself. > > Perhaps someone can say if this method is wrong but it works for me. Please > note that this is using Tomcat. Apparently (so my application server expert > tells me) this might not work in JBoss or Glassfish. > > In WEB-INF/classes create a directory called "templates" > > Copy JSPWiki.jar from WEB-INF/lib and from it extract copies of > /templates/default.properties and /templates/default_en.properties (assuming > that you are only changing the English version - use the appropriate > language for your situation) and put them in your new > WEB-INF/classes/templates directory. Edit those files with your favourite > text editor and finally restart JSPWiki. > > I used JarInspector on OS X to extract the files from JSPWiki.jar but you > could have just used zip. I did it all using root (sudo'd) permissions but > that probably wasn't necessary. > > Can't find much on JSPWiki.org re Internationalisation or customising these > values. If I should add this, perhaps someone could let me know. > > > Roland > -- > QURU Ltd, Somerset House, Strand, London, WC2R 1LA, United Kingdom > > On 17 Apr 2009, at 09:14, I wrote: > > I have been asked to change the "G'day" in the user box to something less >> antipodean. I know that it is stored in fav.greet.anonymous, >> fav.greet.asserted and fav.greet.authenticated but where do I edit their >> values? >> >> TIA >> >> Roland >> -- >> QURU Ltd, Somerset House, Strand, London, WC2R 1LA, United Kingdom >> >
