Difference between revisions of "SUNScholar/Language"

From Libopedia
Jump to navigation Jump to search
m
m
Line 7: Line 7:
 
  nano /home/dspace/<u>[[SUNScholar/Install_DSpace/S03#Step_3.2|source]]</u>/dspace/config/dspace.cfg
 
  nano /home/dspace/<u>[[SUNScholar/Install_DSpace/S03#Step_3.2|source]]</u>/dspace/config/dspace.cfg
 
Look for the following and configure accordingly ''(define supported locales FIRST, then define the default locale)''.  
 
Look for the following and configure accordingly ''(define supported locales FIRST, then define the default locale)''.  
  webui.supported.locales = en, de
+
  webui.supported.locales = en, en_ZA, de
  default.locale = en
+
  default.locale = en_ZA
  
 
*'''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:25, 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
  • 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