Re: [Dspace-tech] How to build dspace with other language?

2007-07-02 Thread Filippos Kolovos
-
What you can do is make a backup copy of the Messages.properties file
and then change the messages in this file to the language you want Dspace
to be built.

However, there are two or three things that you must be careful with when 
doing
this procedure.

1) The encoding of the changed file must follow the encoding that you use in 
your web server (e.g. ISO-8859-7 for Greek), otherwise
 the characters might not display correctly.
2) The Messages.properties file that must be changed, resides in the 
/dspace/config/language-packs directory and not in /dspace/config.
 Any changes made to the file in /dspace/config will not have any 
difference to the output.
3) After any changes made, Dspace must be recompiled with ant. However, I 
would suggest closing the Postgres apart from Tomcat before doing so,
because the installation script will try to initialize the database and 
if the latter contains any data, it may be lost.

What we do in our institution for any changes we want to do to the greek 
output is that we first upload a file named "greek-messages.txt" with ANSI 
encoding
to a windows machine. We make the necessary changes to it and then 
re-download it to the Linux server. Then with a tool called native2ascii we 
re-encode
it to ISO8859-7, in order for the characters to display correctly according 
to our web server encoding. This was one procedure that worked for us when 
we dealt
with the same problem.

At the same time, we keep a backup of the ANSI file, since after the ISO 
encoding the output is not human-readable any more.

I hope that I have helped.

Kind Regards,



-- 
Filippos N Kolovos
Software Systems Analyst & Engineer
M.Sc. (Eng.) in Data Communications

Automation & Networking Department
University of Macedonia Library
Egnatia 156, P.O.Box 1591
540 06 Thessaloniki, Greece

E-Mail: [EMAIL PROTECTED],
   [EMAIL PROTECTED]
---


- Original Message - 
> Message: 3
> Date: Mon, 2 Jul 2007 10:59:09 +0300
> From: "Hlias Stavrakis" <[EMAIL PROTECTED]>
> Subject: [Dspace-tech] How to build dspace with other language?
> To: 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
> i want to build dspace having a Messages_xx.properties file. What are the 
> changes that must be made
> in configuration files in order to build not with default 
> Messages.properties but with Messages_xx.properties file?
>
> Any comment will be helpfull,
> thanks



-
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


[Dspace-tech] Rogue URLs

2007-07-02 Thread Gary Browne
Hi All

 

I'm getting exceptions thrown by some rogue URLs - I'm having trouble
sending examples as they keep getting picked up as spam. The exception
gives information like:

 

URL was:
http://ses.library.usyd.edu..au/simple-search?advanced=true&query1=http%
3A%2F%2Fwww.udel.edu%2Fpostcards%2Fprocess-viewcard.jsp%3Faction%3Dview%
26card_id%3D3d8477b0&query2=http%3A%2F%2Fwww.udel.edu%2Fpostcards%
 

 

.

.

.

etc - with fields like query, field, conjunction, location thrown into
the very long URL. It also contains references to phentermine, etc.

 

Has anyone else experienced this with any other adverse effects (pardon
the pharmacological pun). Obviously spam, but what can be done to stop
this sort of thing?

 

Thanks

Gary

 

 

Gary Browne
Development Programmer
Library IT Services
University of Sydney
Australia
ph: 61-2-9351 5946 

 

-
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


[Dspace-tech] How to build dspace with other language?

2007-07-02 Thread Hlias Stavrakis
Hi, 
i want to build dspace having a Messages_xx.properties file. What are the 
changes that must be made 
in configuration files in order to build not with default Messages.properties 
but with Messages_xx.properties file?

Any comment will be helpfull,
thanks -
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