SUNScholar/Language

From Libopedia
Revision as of 09:56, 31 July 2014 by Hgibson (talk | contribs)
Jump to navigation Jump to search
Back to Customisation
Default Language

The default language for all services is 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
Web UI Locale

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