Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Language

Locale

Version

UI

contact

translation to review

Arabic

ar

1.4.1

jsp

 

Messages_ar.properties

French

fr

1.5

xml

University of Montreal

 

Persian

fa_IR

1.5

jsp

 

 

Italian

it

1.5

xml

valerio.minetti AT gmail.com

messages_it.xml

Serbian

sb_RS

1.6

xml, jsp

Bojan Suzij - National Library for the Blind

 

Spanish

es

1.5

jsp

gustavo perosillo

Available for review

Spanish

es

1.5.1

jsp

Guillermo Varela

Available for review

Thai

th

1.5.2

jsp

KIDS-D Project, Asian Institute of Technology

 

Thai

th

1.5.2

xml

KIDS-D Project, Asian Institute of Technology

 

Panel

Available translations of Messages.properties for JSP-UI

Language

Locale

initial

1.3.1

1.3.2

1.4

1.4.1

1.4.2

1.5

1.5.1

1.5.2

1.6.0

|| - ||

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="10bffb23-3676-4b8a-80d6-36a2da074bd4"><ac:plain-text-body><![CDATA[

Catalan

ca

 

x

x

 

...

X

...

 

...

 

...

[ ToDo

X

...

 

 

ToDo

...

-

 

 

 

...

Chinese CN

zh_cn

X

 

 

 

 

 

 

 

 

 

...

 

Chinese TW

zh_tw

X

 

 

 

 

 

 

 

 

 

...

 

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="

...

835ea1c7-

...

bbd9-

...

4562-

...

838a-

...

1391e5499013"><ac:plain-text-body><![CDATA[

Czech

cs

X

 

 

 

 

 

X

[ ToDo

i18n Update Czech translation of Messages.properties from 1.5 to 1.5.1 ]

X

 

...

 

]]></ac:plain-text-body></ac:structured-macro>

Panel

French

fr

X

 

X

 

X

 

 

ToDo

 

| - |


panel

Galician

gl

X

 

 

 

 

X

 

ToDo

 

| - |


panel

German

de

X

 

 

X

X

X

X

X

X

X

| - |


panel

Greek

el

X

 

 

X

 

 

 

 

 

| - |

Panel

Hungarian

hu

X

 

 

 

 

 

 

 

 

| - |


panel

Indonesian

id

X

 

 

 

 

 

 

 

 

| - |


panel

Italian

it

X

 

X

X

 

 

 

 

X

| - |


panel

Japanese

ja

X

 

X

X

 

 

 

X

 

| - |


panel

Norwegian

no

X

 

X

 

 

X

 

ToDo

 

| - |

Panel

Polish

pl

X

 

X

X

 

 

 

 

 

| - |


panel

Portuguese

pt

 

 

 

 

 

 

X

X

 

| - |

Panel

Portuguese PT

pt_PT

X

 

 

X

 

 

X

X

X

| - |

Panel

Portuguese BR

pt_BR

X

 

X

 

 

 

X

 

 

| - |

Panel

Russian

ru

X

 

X

X

 

 

 

 

 

| - |


panel

Spanish

es

X

 

 

 

X

 

 

X

 

| - |

Panel

Swedish

sv

X

 

 

X

 

 

X

X

 

| - |


panel

Thai

th

 

 

 

 

 

X

 

X

 

| - |


panel

Ukrainian

uk

 

 

 

 

X

 

 

ToDo

 

| - |

...

Welsh

cy

 

 

 

 

X

X

X

X

 

Panel
Panel

Available translations of messages.xml for XML-UI

Language

Locale

1.5

1.5.1

1.5.2

1.6.0

|| - ||

German

de

x

x

x

x

| - |
panel

Greek

el

 

x

 

| - |


panel

Catalan

ca

x

x

 

| - |


panel

Czech

cs

 

 

x

| - |

Panel

Italian

it

x

 

x

| - |


panel

Japanese

ja

 

x

 

| - |


panel

Portuguese

pt_BR

 

x

 

| - |

...

Spanish

es

x

x

 

...

Parts of localizations not yet managed at Sourceforge SVN

Messages.properties not corresponding to a valid Locale

Language (code)

Provided by

Status

Files

Comments

Simplified Chinese (chs)

JiehHsiang

open to review and extention

 

Messages_chs.properties

Based on v1.3.1 of Messages.properties

Traditional Chinese (cht)

JiehHsiang

open to review and extention

 

Messages_cht.properties

Based on v1.3.1 of Messages.properties

Other parts of DSpace which can be translated

DSpace+1.6.0

DSpace 1.5.2

DSpace 1.5.1

DSpace 1.4.2

File

French

German

Italian

Russian

all available files

French.zip

German.zip

Italian.zip

Russian.zip

dspace-source/config/emails/change_password

change_password_fr

change_password_de

 

change_password_ru

dspace-source/config/emails/feedback

feedback_fr

feedback_de

 

feedback_ru

dspace-source/config/emails/internal_error

 

internal_error_de

 

internal_error_ru

dspace-source/config/emails/register

register_fr

register_de

 

register_ru

dspace-src-cfg/emails/registration_notify

 

registration_notify_de

 

 

dspace-source/config/emails/submit_archive

submit_archive_fr

submit_archive_de

 

submit_archive_ru

dspace-source/config/emails/submit_reject

submit_reject_fr

submit_reject_de

 

submit_reject_ru

dspace-source/config/emails/submit_task

submit_task_fr

submit_task_de

 

submit_task_ru

dspace-source/config/emails/subscription

subscription_fr

subscription_de

 

subscription_ru

dspace-source/config/emails/suggest

suggest_fr

suggest_de

 

suggest_ru

dspace-source/config/input-forms.xml

 

input-forms_de.xml

 

 

dspace-source/config/default.license

 

default_de.license

 

dspace-source/config/news-side.html

 

news-side_de.html

 

dspace-source/config//news-top.html

 

news-top_de.html

 

dspace-source/jsp/help/collection-admin.html

 

collection-admin_de.html

collection-admin_it.html

dspace-source/jsp/help/index.html

 

index_de.html

index_it.html

dspace-source/jsp/help/site-admin.thml

 

site-admin_de.html

site-admin_it.html

Misc resources not part of DSpace

Language (code)

Provided by

Content

Files

Comments

Russian (ru)

Andrew Barhatov

State rubricator of scientific and technical information

grnti.zip

 

Basic Technical Considerations

The Java Standard Tag Library v1.0 is used.

The Use of Tags and Message Keys

Basic steps for using Tags in a JSP:

  • include the Standard Tag Library in the JSP -
    No Format
    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
  • define the key you want in config/Messages.properties
  • use the key instead of the text in the JSP, see examples below
    The messages may can now be changed in the appropriate config/Messages_xx.properties file. This must be done at build-time, because it is placed in the dspace.war.

    Example: Basic key use

  • Old JSP
    Code Block
    <h1>Search Results</h1>
  • New JSP
    Code Block
    <h1><fmt:message key="jsp.search.results.title" /></h1>
  • Messages.properties
    Code Block
    jsp.search.results.title = Search Results

Example: Use of parameters

Phrases may have parameters to be passed in, to make the job of translating easier, reduce the number of 'keys' and to allow translators to make the translated text flow more appropriately for the target language.

  • Old JSP
    No Format
    <p>Results <%= r.getFirst() %> to <%= r.getLast() %> of <%= r.getTotal() %></p>
  • New JSP
<fmt:message key="jsp.search.results.text">
<fmt:param><%= r.getFirst() %></fmt:param>
<fmt:param><%= r.getLast() %></fmt:param>
<fmt:param><%= r.getTotal() %></fmt:param>
</fmt:message>
Panel

* Messages.properties

...