Hello Panyarak,

the message catalogues are a dependency and pulled in during the maven build process. They can be found as a dspace-api-lang-[Version].jar in the lib directories.

If you want to customize the catalogues you can use the overlay mechanism. Copy the files you want to overlay to
[dspace-src]/dspace/modules/jspui/src/main/resources
and rebuild your application.


Hope that helps

Claudia Jürgen



Am 14.04.2010 06:36, schrieb Panyarak Ngamsritragul:

Thanks Hayden,

I set the supportin locales in dspace.cfg to be something like this:
webui.supported.locales = en, th, ja

And then deployed the DSpace.  There is no problem to have them switch
between each locales.  But I found it very tricky because the
Messages_LOCALE.properties files are not anywhere in DSpace paths!

I took a look at /path/to/my/repository/webapps/jspui/WEB-INF/classes, it
is just an empty directory!  Where are those different language messages
from?  Does the system read them directly from
http://scm.dspace.org/svn/repo/modules/dspace-api-lang/trunk/src/main/resources
?

One more thing, I downloaded the Messages_th.properties, and
Messages_ja.properties in order to make some necessary modifications.  But
they are in something like native codes.  Is there some tools we can
convert them to human readable form.  Sorry if this is a too basic
question.  If possible the instruction should be included as comments in
the files.

Panyarak Ngamsritragul
Prince of Songkla University.

On Wed, 14 Apr 2010, Hayden Young wrote:

Probably the most up-to-date generic language property files are located
in the DSpace language module source control.

http://scm.dspace.org/svn/repo/modules/dspace-api-lang/trunk/src/main/resources/.

If you already have a DSpace instance deployed, implmenting a new
language properties file is simply a matter of dropping it into
/path/to/your/repository/webapps/jspui/WEB-INF/classes.

Cheers


Hayden

On 14/04/10 03:29, Panyarak Ngamsritragul wrote:
I am now in the state of implementing DSpace 1.6 to our service.  There
are a few modifications I would like to make to Messages.properties file.
For English language, this can be done with difficulty.  But for some
other languages, I just could not locate the files!  In the manual page
139 it is said that those file are in (for example Thai version)
[dspace-source]/dspace/modules/jspui/src/main/resources/Messages_th.properties

But there is no such file!

I search the entire source package using command
     find [dspace-source] -iname Messages_*

I could find related files for xmlui, but not for jspui...
And more over, there is no message_th.xml for xmlui too.

Can anyone tell me where I can find these related files and where should I
really put them before I build and deploy the application ?

Thanks

Panyarak Ngamsritragul
Prince of Songkla University.



--
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6102 1198
m. +61 (0) 405 520 778
e. [email protected]
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf

NOTICE
This e-mail and any attachments are intended for the addressee(s) only and may 
be confidential. They may contain legally privileged or copyright material. You 
should not read, copy, use or disclose them without authorization. If you are 
not the intended recipient please contact the sender as soon as possible by 
return e-mail and then please delete both messages. This notice should not be 
removed.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


<<attachment: Claudia_Juergen.vcf>>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to