[Dspace-tech] List of months

2008-09-23 Thread Víctor Izaguirre
Hello,
I need translate to spanish the list of months, where do i do that??

Tks very much.

-- 
Saludos cordiales,

Víctor Izaguirre Castro
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] List of months

2010-09-01 Thread Joan Caparros
Hi, I'm using the last version of DSpace (1.6.2) an I want to translate 
the list of months too. Has anyone got it?

Regards Joan

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] List of months

2010-09-02 Thread Claudia Jürgen
Hello Joan,

could you be more precise, to which list of months you are referring.

Usually there is no need to translate them, in the sense as to put a key 
in the message catalogue.
Take a look at
org.dspace.content.DCDate
getMonthName(int m, Locale locale)

Hope that helps

Claudia Jürgen


Am 01.09.2010 17:48, schrieb Joan Caparros:
> Hi, I'm using the last version of DSpace (1.6.2) an I want to translate
> the list of months too. Has anyone got it?
>
> Regards Joan
>
> --
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] List of months

2010-09-07 Thread Joan Caparros
The list of months that I'm referring is the list that appears when you 
are Browsing by Issue Date, there is a list to jump to a specific month.

First of all I have modified the ConfigurableBrowse.java file changing :
- month.addOption(false, String.valueOf(i), DCDate.getMonthName(i, 
Locale.getDefault()));
+ month.addOption(false, String.valueOf(i), DCDate.getMonthName(i, 
context.getCurrentLocale()));

And finally I have modified the org.dspace.content.DCDate - 
getMonthName(int m, Locale locale) but only to change the first letter 
with an UpperCase... but that is only a visual improvement.

Right now it changes but not in the right way, the first time it appears 
in english and after an update it take the "another" language...  I'm 
missing something because it doesn't take the correct CurrentLocale.


Atentament
Joan Caparrós

Claudia Jürgen wrote:
> Hello Joan,
>
> could you be more precise, to which list of months you are referring.
>
> Usually there is no need to translate them, in the sense as to put a 
> key in the message catalogue.
> Take a look at
> org.dspace.content.DCDate
> getMonthName(int m, Locale locale)
>
> Hope that helps
>
> Claudia Jürgen
>
>
> Am 01.09.2010 17:48, schrieb Joan Caparros:
>  
>> Hi, I'm using the last version of DSpace (1.6.2) an I want to translate
>> the list of months too. Has anyone got it?
>>
>> Regards Joan
>>
>> --
>>  
>>
>> This SF.net Dev2Dev email is sponsored by:
>>
>> Show off your parallel programming skills.
>> Enter the Intel(R) Threading Challenge 2010.
>> http://p.sf.net/sfu/intel-thread-sfd
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> 
>
>   



--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] List of months

2008-09-25 Thread Víctor Izaguirre
Tks,

I found it in org/dspace/content/DCDate.java

/**
 * The month names
 */
private final static String[] MONTHNAMES = { "January", "February",
"March", "April", "May", "June", "July", "August", "September",
"October", "November", "December" };

2008/9/25 François Parmentier <[EMAIL PROTECTED]>

> In what version of DSpace?
> In 1.4 I had to modify some java class (I don't remember which one) to put
> month number instead of first 3 letters of the name of the month in English.
>
> [dspace-source]/org/dspace/app/webui/jsptags/ItemListTag.java:
>
>metadata = UIUtil.displayDate(dd, false, false) + thumbs;
>
> [dspace-source]/org/dspace/app/webui/util/UIUtil.java:
>
>//sb.append(DCDate.getMonthName(month).substring(0, 3) + "-");
>sb.append(month+"-");
>
> Hope this helps.
> --
> François PARMENTIER / INIST-CNRS
>
> On Tue, Sep 23, 2008 at 9:59 PM, Víctor Izaguirre <[EMAIL PROTECTED]>wrote:
>
>> Hello,
>> I need translate to spanish the list of months, where do i do that??
>>
>> Tks very much.
>>
>> --
>> Saludos cordiales,
>>
>> Víctor Izaguirre Castro
>>
>> -
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>
>>
>


-- 
Saludos cordiales,

Víctor Izaguirre Castro
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] List of months

2008-09-26 Thread François Parmentier
Yes, but don't modify DCDate !
I tried. And it messed all up!
These values are needed elsewhere, if I remember well.

On Thu, Sep 25, 2008 at 4:02 PM, Víctor Izaguirre <[EMAIL PROTECTED]> wrote:

> Tks,
>
> I found it in org/dspace/content/DCDate.java
>
> /**
>  * The month names
>  */
> private final static String[] MONTHNAMES = { "January", "February",
> "March", "April", "May", "June", "July", "August", "September",
> "October", "November", "December" };
>
> 2008/9/25 François Parmentier <[EMAIL PROTECTED]>
>
>> In what version of DSpace?
>> In 1.4 I had to modify some java class (I don't remember which one) to put
>> month number instead of first 3 letters of the name of the month in English.
>>
>> [dspace-source]/org/dspace/app/webui/jsptags/ItemListTag.java:
>>
>>metadata = UIUtil.displayDate(dd, false, false) + thumbs;
>>
>> [dspace-source]/org/dspace/app/webui/util/UIUtil.java:
>>
>>//sb.append(DCDate.getMonthName(month).substring(0, 3) + "-");
>>sb.append(month+"-");
>>
>> Hope this helps.
>> --
>> François PARMENTIER / INIST-CNRS
>>
>> On Tue, Sep 23, 2008 at 9:59 PM, Víctor Izaguirre <[EMAIL PROTECTED]>wrote:
>>
>>> Hello,
>>> I need translate to spanish the list of months, where do i do that??
>>>
>>> Tks very much.
>>>
>>> --
>>> Saludos cordiales,
>>>
>>> Víctor Izaguirre Castro
>>>
>>> -
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> ___
>>> DSpace-tech mailing list
>>> DSpace-tech@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>>
>>>
>>
>
>
> --
> Saludos cordiales,
>
> Víctor Izaguirre Castro
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] List of months in submit form not localized

2011-05-12 Thread Rafa Carreres

Hi all,

In DSpace 1.7.1 I've translated my input-forms.xml into spanish and 
everything is OK but when I choose a month in the combo it's only shown 
in english. I've all the values in dspace.cfg Ok.


Any ideas?
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech