Hi Fran,

you might change this in

webbapp/home.jsp

for (int i = supportedLocales.length-1; i >= 0; i--)
{
%>
<a class ="langChangeOn"
 
onclick="javascript:document.repost.locale.value='<%=supportedLocales[i].toString()%>';
                   document.repost.submit();">
                  <%= 
supportedLocales[i].getDisplayLanguage(supportedLocales[i])%>
         </a> &nbsp;
<%

see http://java.sun.com/j2se/1.4.2/docs/api/java/util/Locale.html
for the possibilities.
If you want labelling which is not provided by Locale you can add your 
own to the Messages.properties e.g.
jsp.home.language-selection.es = Castellano
and use the fmt tag instead of the getDisplayLanguage method.

Hope that helps

Claudia Jürgen


Fran Mosteiro schrieb:
> Hi all!
> 
> I´m a novice user of DSpace. I´m just tasting the tool but it seems great !
> By now it´s all quite clear for me, buy i have a little uestion about the
> language selector tag in the DSpace home page.
> 
> In our case, we will need to use DSpace in 3 diffrent languages: Spanish,
> English and Bask. I already activated them by rewriting this clue in
> dspace.cfg "webui.supported.locales = es,eu,en". When i recompile (light
> recompile :D) the tool i can see the 3 languages as selectable, written this
> way:
> 
> " español  vascuence ingles ". Here my question; does anyboday now where can
> i change this literals from that to: " Castellano Euskera Ingles"  ?
> 
> I hope so! Thanks in advance for your time and pleased to meet you all!
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to