Hola Jesus,

this part of i18n only works with the jspui.

Saludos

Claudia Jürgen


Jesus Martin schrieb:
> Hi, I have different input-forms with different languages but in xmlui 
> they are not loading correctly, DSpace is always loading the default 
> input-forms.xml .
> 
> I've already put the appropiate locale variables to the dspace.cfg 
> (xmlui.supported..., webui.supported.locales).
> 
> I've checked the 
> "dspace/app/xmlui/aspect/submission/submit/DescribeStep.java", and I 
> think that the problem is in this function:
> ---------------------
> private static void initializeInputsReader() throws ServletException
>     {
>         if (INPUTS_READER == null)
>             INPUTS_READER = new DCInputsReader();
>     }
> ---------------
> 
> and in the DCInputsReader:
> ------------
>     public DCInputsReader()
>          throws ServletException
>     {
>         buildInputs(defsFile);
>     }
> -----------
> 
> So when DSpace calls DCInputsReader it reads the default input-forms.xml 
> , without taking the actual locale.
> 
> Could you help me with this issue?
> 
> Thanks in advance,
> 
> Jesús
> 

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to