In Genie, if you want to change the text of a message or other text string that is not configurable elsewhere (one of the .CONFIG files), follow the procedure below.
Important! Do not modify the original GlobalResource.RESX file. This file is likely to be replaced during upgrade and service pack installs.
Create a new empty file in the same folder as GlobalResource.RESX (App_GlobalResources) that uses the name GlobalResource.en-US.RESX.
- Copy from the GlobalResource.RESX file to the new .RESX file:
- The header information: Everything from the top of the file to just before the first <data> tag.
- Only those <data> tags containing messages that you want to be different than the original message.
- The </root> tag from the bottom of the file.
Genie will use this new GlobalResource.en-US.RESX file automatically once it exists.
If you have multiple groups of users who need different sets of messages (for example, if you have a multi-lingual site), follow these steps.
- Create multiple .RESX files following the steps above, each with a different locale name (the string before .RESX in the file name). The locale name specified doesn't matter, except that it must be a real locale. The locale you specify in the .RESX file name will not have any other impact on Genie.
- When creating the URLs for these groups to use include the Language= parameter. For example:
http://domain-name/inmagicgenie/catalog.search.aspx?Language=fr-CA
http://domain-name/inmagicgenie/opac.aspx?Language=fr-CA
Note: Specifying the Language= in the URL will suppress the language drop-down list on the Catalog Search page by default.
No comments:
Post a Comment