Difference between revisions of "SUNScholar/Language"
Jump to navigation
Jump to search
m (→Introduction) |
m (→Introduction) |
||
| Line 7: | Line 7: | ||
For international language standards, see the following: | For international language standards, see the following: | ||
*[http://www.loc.gov/standards/iso639-2/langhome.html ISO 639.2] | *[http://www.loc.gov/standards/iso639-2/langhome.html ISO 639.2] | ||
| − | * [http://en.wikipedia.org/wiki/UTF-8 UTF-8] | + | *[http://en.wikipedia.org/wiki/UTF-8 UTF-8] |
===Default Language=== | ===Default Language=== | ||
Revision as of 22:34, 29 December 2014
Back to Customisation
Contents
Introduction
The language, or international localisation, requires that several parts of the system be configured. Below are details of the individual parts.
For international language standards, see the following:
Default Language
The default language for all services are defined in the "build.properties" and "dspace.cfg" files.
https://github.com/DSpace/DSpace/blob/master/build.properties#L40 https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg#L49 https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg#L1385-L1394
Web UI Locale
Look for the following in the dspace.cfg file and configure accordingly (define supported locales FIRST, then define the default locale).
webui.supported.locales = en, en_ZA, de default.locale = en_ZA
Now, check to see if an appropriate language file exists in one the following folders, if using the XMLUI;
/home/dspace/source/dspace-xmlui/src/main/webapp/i18n/ /home/dspace/source/dspace/modules/xmlui/src/main/webapp/i18n/
Language files customisation
Click here to modify the language files used by the XMLUI interface.
References
- https://wiki.duraspace.org/display/DSDOC4x/Localization+L10n
- https://wiki.duraspace.org/display/DSDOC4x/Localization+L10n#LocalizationL10n-Enablingadditionallocales
- https://wiki.duraspace.org/display/DSDOC3x/Application+Layer#ApplicationLayer-internationalization
- https://wiki.duraspace.org/display/DSDOC3x/XMLUI+Configuration+and+Customization#XMLUIConfigurationandCustomization-MultilingualSupport
- https://wiki.duraspace.org/display/DSDOC18/XMLUI+Configuration+and+Customization#XMLUIConfigurationandCustomization-MultilingualSupport
- http://cocoon.apache.org/2.1/userdocs/i18nTransformer.html
- https://wiki.duraspace.org/pages/viewpage.action?pageId=19006024
- https://wiki.duraspace.org/display/DSPACE/i18n+Improvements+Proposal
- https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/core/I18nUtil.java
- https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/i18n/messages.xml