Hi Gabe,

Am 10.01.19 um 16:13 schrieb [email protected]:
[…]
We are using DSpace 6.2 with XMLUI.  We haven't selected a theme, but are interested in using one down the line, and it would be great to know how our selection would affect this.
[…]

bad news: DIY .
It can be done like this, e.g. for DDC:

let's say you have category 004 ("Data processing and computer science").
In the metadata field (ours is "subject.ddc") is just "004".

In your messages.xml files for i18n enter something like this:

<message key="xmlui.subject_ddc.004">Data processing and computer science</message>

and for german messages_de.xml e.g.

<message key="xmlui.subject_ddc.004">Informatik</message>

Note the numeric category after the "xmlui.subject_ddc.".

In the template in the xsl-file it can look like this:
-------------------------------------------------------

<xsl:for-each select="dim:field[@element='subject'][@qualifier='ddc']">
[…]
<i18n:text><xsl:value-of select="concat('xmlui.subject_ddc.',./node())"/></i18n:text>&#160;
[…]
</xsl:for-each>
-------------------------------------------------------

In this loop, ./node() contains the contents of the metadata field, is appended to a static string "xmlui.subject_ddc." replaced by your message from messages???.xml via "<i18n:text>" by the current selected language.

Disadvantage: there is no text indexed to be searched, just the numeric category.

Michael


--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to