On Thu, Sep 13, 2012 at 4:10 PM, Calloni, Rodrigo <rcall...@iadb.org> wrote:
> When we first set the system we assumed that the DSpace UI would only show
> the facet for Country that relates to the UI selected language. But instead
> it is showing the duplication as you can see in picture 1.
>
> I wonder if this is a known issue. Also where in the dspace configuration
> we set the language sensibility.

Hi Rodrigo,

I'm afraid I'll have to disappoint you, this is the expected
behaviour. There's no magic switch you can turn to change it.

It's not that simple to change in XSL, either, mainly because DRI
doesn't contain the currently selected language. I have reported this
in some Jira issue, but it turned out it's a layering problem that's
not easy to resolve.

This is a workaround I use:
<xsl:variable name="currentLanguage"
select="substring(/dri:document/dri:meta/dri:userMeta/dri:metadata[@element='language'
and @qualifier='RFC3066'][1], 1, 2)"/>
It kinda works because the order of languages corresponds to what the
browser requests, but you will have to match it up with what languages
your repository offers.

You will have to turn to @mire for help. Hopefully they will think of
a solution and we all will benefit from it in the next DSpace version.

Regards,
~~helix84

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to