Re: [Dspace-tech] i18n configurable multilingualism support

2007-07-25 Thread Stuart Lewis [sdl]
Hi Marcelo,

 Has anyone tried this patch:  SF Patch #1450491
 https://sourceforge.net/tracker/index.php?func=detailaid=1450491group_id=19
 984atid=319984  i18n configurable multilingualism support
 
 For what I've read, it seems to be an excellent addition to Dspace!!

It is indeed! It has recently been added to the core code and is available
from SVN trunk, and will be in version 1.5 which is scheduled to be released
later this year.

 In the meantime, i would like to have a simple dropdown list (or links) that
 allow a user to change the language. But i could not found any info on this,
 on the multilanguage-packs page.
 
 Is it made with javascript? Any ideas?

See the SourceForge patch:

 - [ 1759438 ] Multilingualism Language Switch - DSpace Header

It sounds like this is what you are requesting. A demo is online at
http://rspdspace.aber.ac.uk/dspace/

Thanks,


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] i18n configurable multilingualism support

2007-05-22 Thread Claudia Jürgen
Hi Jimmy,

this is due to the length of chinese or japanese month names.

You may either check out the latest version of
org.dspace.app.webui.util.UIUtil.java from svn

or just replace this line in UIUtil.java

sb.append(DCDate.getMonthName(month).substring(0, 3) + -);

with

String monthName = DCDate.getMonthName(month,v getSessionLocale(request));
int monthLength = monthName.length();
monthLength = monthLength  2 ? 3 : monthLength;
sb.append(monthName.substring(0, monthLength) + -);


If you're working with DSpace in Chinese, it would be great if you could 
supply an updated Messages_zh_cn.properties as the one existing is just 
an initial stub.

sunny greetings

Claudia Jürgen



Jimmy schrieb:
 Hi all,
 
 I applied the above patch(i18n_Revision1880_v7.zip) for supporting
 multilingualism,and i added the zh_CN in the dspace.cfg.But After I select
 the Chinese language, there always throw an StingIndexOutofBoundsException
 when I browse all items in a collection.And see there is nothing show in 
 the
 itemlist...
 
 Any idea about this problem?
 
 Thanks in advance,
 Jimmy.
 
 
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 
 
 
 
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech