Novell ACCESS MANAGER 3.1 SP2 - ACCESS GATEWAY GUIDE 2010 Manual page 94

Access gateway guide
Hide thumbs Also See for ACCESS MANAGER 3.1 SP2 - ACCESS GATEWAY GUIDE 2010:
Table of Contents

Advertisement

NOTE: You cannot customize an error message that is not present in the
file.
To localize the error messages:
1 Log in as
2 Open the
3 Copy the error messages that you have localized or customized to within the
<TranslatedMessage></TranslatedMessage>
</Message>
<Message id="<ID No>" name="<ERROR_MESSAGE_NAME>" enable="yes">
<EnglishMessage>English Message goes here</EnglishMessage>
<TranslatedMessage>
Localized message goes here
</TranslatedMessage>
</Message>
Do not delete the contents within the
from an English file because, the
within these tags for display.
4 Save the file.
5 Enter the following commands to restart the Access Gateway Appliance:
/etc/init.d/novell-vmc stop
/etc/init.d/novell-vmc start
6 If the Access Gateway belongs to a cluster, copy the modified file to each member of the
cluster, then restart that member.
Modifying the ErrorPagesConfig.xml File
The
ErrorPagesConfig.xml
You must edit the
various languages. In the
template file
ErrorMessages.xml.<lang>
attribute value is
fileXn
To map a list of
the
<header>
To modify the
1 Log in to the Access Gateway Appliance machine.
2 Open the
current
3 Add the language information within the
<ErrorPageConfiguration>
94
Novell Access Manager 3.1 SP2 Access Gateway Guide
.
root
ErrorMessages.xml.<lang>
file stores the header value and the template mapping information.
ErrorPagesConfig.xml
ErrorPagesConfig.xml
ErrorPageTemplate.htm.<lang>
, where <lang> is the
, the
de
ErrorPagesTemplate.htm.de
header values to the template, you must add the header value as
Accept-Language
element under the corresponding
errorpagesconfig.xml
ErrorPagesConfig.xml
directory.
<Profile name = "English"
<header value = "en-us" />
<header value = "en-uk" />
file.
tags. For example:
<TranslatedMessage></TranslatedMessage>
ErrorPagesConfig.xml
file to provide localization for error messages in
file, each
<Profile>
and a messages file
attribute value. For example, if the
fileXn
element.
<Profile>
file:
file located in the
/var/novell/errorpagesconfig/
tag as follows:
<profile>
enable = "1"
ErrorMessages.xml.en
file selects the error message
element corresponds to a
file is served to the browser.
fileXn = "en">
tags

Advertisement

Table of Contents
loading

Table of Contents