Technical Note: Sun Java System Access Manager Localization Guide

Adding a New Language to the Supported Language List

ProcedureTo Create the setServiceRevision.xml File

  1. Open a terminal window on the server where an instance of Access Manager is installed (if necessary).

  2. As superuser create a temporary directory to store the XML files used to add support for a new language.

    # mkdir -p /export/am_xml_tmp

  3. Change to the temporary created directory.

    # cd /export/am_xml_tmp/

  4. Create the setServiceRevision.xml file.

  5. Open the empty created file with a text editor and insert the following lines:

    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE Requests PUBLIC "-//iPlanet//Sun Java System Access Manager 7.1 Admin CLI DTD//EN" "jar://com/iplanet/am/admin/cli/amAdmin.dtd">

    <!-- apply this file by: amadmin -u admin-user -w admin-pwd -t filename.xml -->

    <Requests>

    <SchemaRootNodeRequests serviceName="iPlanetG11NSettings">

    <SetServiceRevisionNumber number="10" />

    </SchemaRootNodeRequests>

    </Requests>

  6. Save the changes.

ProcedureTo Apply Changes to the Access Manager Administration Console With the amadmin Tool

  1. Change to the Access Manager bin directory.

    # cd AM_BIN/

  2. Run the amadmin tool as follows:

    # ./amadmin -u admin-user -w admin-pwd -t \ /export/am_xml/tmp/setServiceRevision.xml

ProcedureTo Create the amG11nSettings_mod.xml File

  1. Open a terminal window on the server where an instance of Access Manager is installed (if necessary).

  2. Change to the temporary created directory.

    # cd /export/am_xml_tmp/

  3. Create the amG11nSettings_mod.xml file.

  4. Open the empty created file with a text editor and insert the following lines:

    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE Requests PUBLIC "-//iPlanet//Sun Java System Access Manager 7.1 Admin CLI DTD//EN" "jar://com/iplanet/am/admin/cli/amAdmin.dtd">

    <!-- apply this file by: amadmin -u admin-user -w admin-pwd -t filename.xml -->

    <Requests>

    <SchemaRequests serviceName="iPlanetG11NSettings" SchemaType="Global">

    <AddDefaultValues>

    <AttributeValuePair>

    <Attribute name="sun-identity-g11n-settings-locale-charset-mapping"/>

    <Value>nl|charset=UTF-8</Value>

    </AttributeValuePair>

    </AddDefaultValues>

    </SchemaRequests>

    </Requests>

  5. Save the changes.

ProcedureTo Apply Changes to the Access Manager Administration Console With the amadmin Tool

  1. Change to the Access Manager bin directory.

    # cd AM_BIN/

  2. Run the amadmin tool as follows:

    # ./amadmin -u admin-user -w admin-pwd -t \ /export/am_xml/tmp/amG11nSettings_mod.xml