<?xml version="1.0" encoding="utf-8"?>
<html>
Change+page+text
Files:
- dspace-source/jsp/(JSP containing the text you want to change)
- dspace-source/config/language-packs/Messages.properties
Instructions:
- Open Messages.properties and search for the text you wish to change.
- Note: Messages.properties contains pairs of "keys" and "values". For example:<p class="Example">jsp.home.search1 = Search
- Generally speaking, the "key" usually refers to the location of the JSP on which this text resides (e.g.
is "search-related" text displayed in dspace-source/jsp/home.jsp)
jsp.home.search1
- If Messages.properties contains that text in more than one place, open the relevant JSP and find the
attribute of the appropriate
key
element. For example:<p class="Example"><fmt:message key="jsp.home.search1" /><fmt:message>
- Change the text (that corresponds to the key) in Messages.properties.
- Perform the steps in HOWTO__Rebuild+DSpace.
Notes:
- When adding or modifying text in Messages.properties, be very careful that you have automatic word-wrap turned off in your text editor! The "key" and its corresponding "value" must always be on the same line within Messages.properties (e.g.) This is NOT a valid entry in Messages.properties:
jsp.community-home.heading1 = This is a really long heading which actually gets wrapped automatically by my text editor so that it ends up on three separate lines.
</html>