SUNScholar/XMLUI Theme/M1/Language

Back to Mirage 1 Modification

Introduction
The language files normally exist in one the following folders, if using the XMLUI; $HOME/ source /dspace-xmlui/src/main/webapp/i18n/ (default files) $HOME/ source /dspace/modules/xmlui/src/main/webapp/i18n/ (custom files)

Step 1 - Create custom "messages.xml" file
A custom "messages.xml" is created using the modules overlay method with the XMLUI web user interface. mkdir $HOME/ source /dspace/modules/xmlui/src/main/webapp/i18n

cd $HOME/ source /dspace/modules/xmlui/src/main/webapp/i18n

cp $HOME/ source /dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/i18n/messages.xml.

nano $HOME/ source /dspace/modules/xmlui/src/main/webapp/i18n/messages.xml Modify the "messages.xml" file as desired using "nano".

Step 2 - Apply own breadcrumb trail title
Find the following section at the top of the file and modify using "nano". Home Search Go Go to home page

Step 3 - Apply own "DSpace" replacement
Using "nano", replace all mention of "DSpace" with the name of your repository. See above, for help using the "nano" editor to do search and replace of content.

Step 4 - Apply custom indexes modification
Review the custom indexes procedures at:
 * http://wiki.lib.sun.ac.za/index.php/SUNScholar/Browse_Indexes
 * http://wiki.lib.sun.ac.za/index.php/SUNScholar/Search_Indexes

In order to transform custom messages created by the custom indexes, I applied the following to the bottom of the file.

Step 5 - Input forms modification

 * See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Submissions/Forms
 * Look for the  section and modify accordingly.

Step 6 - Rebuild DSpace
Click on the heading above.

Further References
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Language