Hello, the basic use of message keys is explained here: https://wiki.duraspace.org/display/DSPACE/I18nSupport#I18nSupport-TheUseofTagsandMessageKeys
The paths in that page are a bit obsolete. The message catalogue for the jspui (Messages.properties) can be found at: [dspace-source]/dspace-api/src/main/resources/Messages.properties Some general contribution guidelines can be found at: https://wiki.duraspace.org/display/DSPACE/ContributionGuidelines Hope that helps Claudia Jürgen Am 22.07.2010 12:23, schrieb Brindley, Paul: > Hello again, > > > > Once again I've come to request help from the community. > > > > I'm working on a remote log viewer for DSpace, once it's done I'd like > to submit for inclusion into DSpace and because of this I want/need to > get it done to the appropriate standards and use the correct methods to > get things done. > > > > I've been looking at the following code and I'm having a little trouble > understanding it. It's the<fmt:message > key="jsp.layout.navbar-admin.logout"/> line that has me confused. I get > that fmt refers to a tag library, but I can't figure out where the text > itself is held or how the key works (or more specifically how to add new > keys with new text). > > > > <tr class="navigationBarItem"> > > <td> > > <img alt="" src="<%= request.getContextPath() > %>/image/arrow.gif" width="16" height="16"/> > > </td> > > <td nowrap="nowrap" class="navigationBarItem"> > > <a href="<%= request.getContextPath() %>/logout"><fmt:message > key="jsp.layout.navbar-admin.logout"/></a> > > </td> > > </tr> > > > > I'm used to using Java, but this is the first time I've used JSP so it's > a bit of a learning curve I'm on so I may very well be on with more > questions before I'm done with this one! > > > > Thank you for your help. > > > > - Paul Brindley > > *********************************************************************** > Visit the National Library of Scotland online at www.nls.uk > *********************************************************************** > Please consider the environment before printing this e-mail. > > This communication is intended for the addressee(s) only. If you > are not the intended recipient, please notify the Information Services > Helpdesk on +44 131 623 3789 or [email protected] and delete this e-mail. > The statements and opinions expressed in this message are those of the author > and do not necessarily reflect those of the National Library of Scotland. The > National Library of Scotland is a registered Scottish charity. Scottish > Charity No. SC011086. This message is subject to the Data Protection Act 1998 > and Freedom of Information (Scotland) Act 2002 and has been > scanned by Webroot. > *********************************************************************** > > Follow us on Twitter for twice-weekly updates. > Become our fan on Facebook and keep up-to-date that way too. > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > > > _______________________________________________ > Dspace-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-devel -- Mit freundlichen Gruessen Claudia Juergen Universitaetsbibliothek Dortmund Eldorado 0231/755-4043 https://eldorado.tu-dortmund.de/ ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Dspace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-devel
