...
Language | Locale | Version | UI | contact | translation to review |
---|---|---|---|---|---|
Arabic | ar | 1.4.1 | jsp |
| |
French | fr | 1.5 | xml | University of Montreal |
|
Persian | fa_IR | 1.5 | jsp |
|
|
Italian | it | 1.5 | xml | valerio.minetti AT gmail.com | |
Serbian | sb_RS | 1.6 | xml, jsp | Bojan Suzij - National Library for the Blind |
|
Spanish | es | 1.5 | jsp | gustavo perosillo | |
Spanish | es | 1.5.1 | jsp | Guillermo Varela | |
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 |
|
...
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 |
---|---|---|---|---|---|---|---|---|---|---|---|
Catalan | ca |
| x | x |
| X |
|
|
...
|
| |
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=" |
...
0f31bbf1- |
...
4f15- |
...
4e18- |
...
9c1b- |
...
a99eb880382d"><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> | |||||||||
French | fr | X |
| X |
| X |
|
|
|
...
| ||||||||||
Galician | gl | X |
|
|
|
| X |
|
|
...
| - |
German | de | X |
|
| X | X | X | X | X | X | X |
...
Greek | el | X |
|
| X |
|
|
|
|
|
...
| ||||||||||
Hungarian | hu | X |
|
|
|
|
|
|
|
|
...
| ||||||||||
Indonesian | id | X |
|
|
|
|
|
|
|
|
...
| ||||||||||
Italian | it | X |
| X | X |
|
|
|
| X |
...
| ||||||||||
Japanese | ja | X |
| X | X |
|
|
| X |
|
...
| ||||||||||
Norwegian | no | X |
| X |
|
| X |
|
|
...
| ||||||||||
Polish | pl | X |
| X | X |
|
|
|
|
|
...
| ||||||||||
Portuguese | pt |
|
|
|
|
|
| X | X |
|
...
| ||||||||||
Portuguese PT | pt_PT | X |
|
| X |
|
| X | X | X |
...
| ||||||||||
Portuguese BR | pt_BR | X |
| X |
|
|
| X |
|
|
...
| ||||||||||
Russian | ru | X |
| X | X |
|
|
|
|
|
...
| ||||||||||
Spanish | es | X |
|
|
| X |
|
| X |
|
...
| ||||||||||
Swedish | sv | X |
|
| X |
|
| X | X |
|
...
| ||||||||||
Thai | th |
|
|
|
|
| X |
| X |
|
...
| ||||||||||
Ukrainian | uk |
|
|
|
| X |
|
|
|
...
| ||||||||||
Welsh | cy |
|
|
|
| X | X | X | X |
|
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 |
Greek | el |
| x |
| | - | |
Catalan | ca | x | x |
| | - | |
Czech | cs |
|
| x | | - | |
Italian | it | x |
| x | | - | |
Japanese | ja |
| x |
| | - | |
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 |
| Based on v1.3.1 of Messages.properties | |
Traditional Chinese (cht) | JiehHsiang | open to review and extention |
| 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 | ||||
dspace-source/config/emails/change_password |
| |||
dspace-source/config/emails/feedback |
| |||
dspace-source/config/emails/internal_error |
|
| ||
dspace-source/config/emails/register |
| |||
dspace-src-cfg/emails/registration_notify |
|
|
| |
dspace-source/config/emails/submit_archive |
| |||
dspace-source/config/emails/submit_reject |
| |||
dspace-source/config/emails/submit_task |
| |||
dspace-source/config/emails/subscription |
| |||
dspace-source/config/emails/suggest |
| |||
dspace-source/config/input-forms.xml |
|
|
| |
dspace-source/config/default.license |
|
| ||
dspace-source/config/news-side.html |
|
| ||
dspace-source/config//news-top.html |
|
| ||
dspace-source/jsp/help/collection-admin.html |
| |||
dspace-source/jsp/help/index.html |
| |||
dspace-source/jsp/help/site-admin.thml |
|
Misc resources not part of DSpace
Language (code) | Provided by | Content | Files | Comments |
---|---|---|---|---|
Russian (ru) | Andrew Barhatov | State rubricator of scientific and technical information |
|
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
Panel |
---|
<fmt:message key="jsp.search.results.text"> |
Panel |
---|
...