David, Thank you. This worked.
Richard -----Original Message----- From: Walker, David [mailto:[email protected]] Sent: Wednesday, October 07, 2009 11:54 AM To: Jizba, Richard; [email protected] Subject: RE: How do I override a message key in a theme? Hi Richard, Try this. In your theme XSLT add: <xsl:template match="i18n:text"> <xsl:choose> <xsl:when test="text() = 'xmlui.ArtifactBrowser.AdvancedSearch.type_title'"> <xsl:text>Recipient</xsl:text> </xsl:when> <xsl:otherwise> <xsl:copy-of select="."/> </xsl:otherwise> </xsl:choose> </xsl:template> This is untested, but I think this (or something like it) should work. --Dave ================== David Walker Library Web Services Manager California State University http://xerxes.calstate.edu From: Jizba, Richard [[email protected]] Sent: Wednesday, October 07, 2009 9:37 AM To: [email protected] Subject: [Dspace-tech] How do I override a message key in a theme? Hello, Within a theme, is there a way to override a message key from "messages.xml" For example, what if I want to change this: <message key="xmlui.ArtifactBrowser.AdvancedSearch.type_title">Title</message> To this: <message key="xmlui.ArtifactBrowser.AdvancedSearch.type_title">Recipient</message > Richard Creighton University I originally asked this question as: Can someone tell me how to change the text/labels on the "Advanced Search - Search Type" options for a particular collection or community? This community does have its own theme. I want to change the text, not the search itself. Example: I want to keep a title search but change the label to "Recipient" because in this community are collections of personal letters and the Recipient is the logical equivalent of the title in other collections. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

