Difference between revisions of "SUNScholar/Language"
Jump to navigation
Jump to search
m |
m |
||
| Line 9: | Line 9: | ||
webui.supported.locales = en, en_ZA, de | webui.supported.locales = en, en_ZA, de | ||
default.locale = en_ZA | default.locale = en_ZA | ||
| + | |||
| + | {{NANO}} | ||
*'''Remember, check to see if an appropriate language file exists in one the following folders if using the XMLUI;''' | *'''Remember, check to see if an appropriate language file exists in one the following folders if using the XMLUI;''' | ||
Revision as of 00:26, 31 July 2014
Back to Customisation
- Site settings
Open the the dspace.cfg file and configure the locale as follows;
nano /home/dspace/source/dspace/config/dspace.cfg
Look for the following and configure accordingly (define supported locales FIRST, then define the default locale).
webui.supported.locales = en, en_ZA, de default.locale = en_ZA
- NANO Editor Help
| CTL+O | = Save the file and then press Enter |
| CTL+X | = Exit "nano" |
| CTL+K | = Delete line |
| CTL+U | = Undelete line |
| CTL+W | = Search for %%string%% |
| CTL+\ | = Search for %%string%% and replace with $$string$$ |
| CTL+C | = Show line numbers |
More info = http://en.wikipedia.org/wiki/Nano_(text_editor)
- Remember, 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/
- Customisation for the XMLUI Theme
See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/Language
- 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