Thanks again helix

I wonder if you could guide me through the work around you have. Basically 
which file I should change and where within the file?

I hope not to need to ask these questions sometime soon.

Thanks again
Rodrigo

Rodrigo Calloni
System Librarian
Felipe Herrera Library
Knowledge and Learning Sector
Tel: 202-623-2952
Fax: 202-623-3183

1300 New York Avenue, N.W.
Washington, D.C. 20577
USA
www.iadb.org

"Knowledge for Development Challenges"
  Please consider the environment before printing this email


-----Original Message-----
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Thursday, September 13, 2012 10:25 AM
To: Calloni, Rodrigo
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Multilingual UI problem

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