Hello,

in my custom XMLUI theme (derived from Reference, not Mirage) I'm
overriding the itemSummaryView-DIM-fields template (simple item
record) and I would like to display metadata in language of the
interface. I thought all it would take is to select the metadata in
the correct language and compare it with the value of current
interface language.

I know how to select this metadata, e.g.
<xsl:value-of select="dim:field[@element='description' and
@qualifier='abstract' and @language='en']" />
but I haven't found where interface language is stored.

I looked at the DRI and haven't found it. I'm afraid that it won't be
in DRI at all. I noticed localization is done in a transformer defined
in the theme's sitemap.xmap (<map:act type="locale">), so Cocoon
probably takes care of this, but I have no idea how to leverage it.

So my question is:
1) is there a way to get the value of interface language from XSL? and if not
2) how can I display (simple item record) metadata values in the
current language of the interface?

Regards,
~~helix84

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to