>
> 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
> ?
You'll need to download the properties files from the languages module 
to your DSpace installation's webapps/jspui/WEB-INF/classes directory 
first. It may also require a restart of your Tomcat server.

The messages files are already encoded but you can use various tools to 
make modifications to the file.

The quickest is to run the native2ascii command line tool against the 
encoded properties files, make the changes you need, then encode them 
back to ascii using the same tool.

Alternatively, there are a number of good gui and webui tools available 
for bulk editing. One integrates into Eclipse and is available at 
http://sourceforge.net/projects/eclipse-rbe/. Another, which we use, is 
TongueTied, http://code.google.com/p/tongue-tied/. It takes a little to 
set up but it provides really good online management of properties files 
and doesn't require your translators have Java running on their machines.

Hope this helps.

Cheers


Hayden

On 14/04/10 12:36, Panyarak Ngamsritragul wrote:
> 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. haydenyo...@wijiti.com
>> 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
>> DSpace-tech@lists.sourceforge.net
>> 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.
>>
>>      
>    

-- 
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6102 1198
m. +61 (0) 405 520 778
e. haydenyo...@wijiti.com
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to