Hi all,

if you want to customize the existing Messages.properties no matter what 
language the files are placed under:
[dspace-source]/dspace/modules/jspui/src/main/resources
e.g.
[dspace-source]/dspace/modules/jspui/src/main/resources/Messages.properties
[dspace-source]/dspace/modules/jspui/src/main/resources/Messages_fr.properties

no need for an extra directory.

You got to run mvn [clean] package, ant update and redeploy your 
application for the changes to apply.

Note that this will affect only jspui related events.

Scripts run in batch mode for example will still use
[dspace-source]/dspace-api/src/main/resources/Messages*

Hope that helps

Claudia Jürgen





Allen Lam schrieb:
> It is better not to touch the source directly.
> 
> Assume you have only one Messages.properties,
> place it in [your_dspace151_src]/dspace/modules/jspui/src/main/resources
> 
> If you have multiple properties files for different languages, place 
> them under different dirs under resources.
> 
> After editing, run mvn package and then ant update. See the install doc 
> for these commands.
> 
> Regards,
> Allen Lam.
> HKU Hub Administrator, http://hub.hku.hk
> 
> divyang patel wrote:
>> Dear All
>>
>>    i am using dspace 1.5.1 in fedora 9. I am facing difficulties in 
>> modifying Messages.properties
>>
>> This is the default path for the Messages.properties file in dsapce 1.5.1
>>
>> */home/dspace/dspace-1.5.1-src-release/dspace-api/src/main/resources/*
>>
>> Where to place this file for necessary modification in jspui. After 
>> modification what are the steps needed to get work.
>>
> 
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to