Previous Topic: Localize FCC-based Password Services Change Forms

Next Topic: Use a Fully Qualified URL for Password Services Redirects

Localize CGI-based Password Services Change Forms

For Password Services change forms, the language encoding is read from the Web browser. The Password Services CGI reads the ACCEPT_LANGUAGE variable from the Web browser to determine the language in which to display the password change forms.

For each language, the change forms use a different properties file. The properties file defines certain aspects of the text displayed on the HTML pages.

The following properties files are automatically installed with the Web Agent:

If the ACCEPT_LANGUAGE variable indicates a language for which no properties file exists, the English properties file is used.

To create and use a properties file for another language

  1. Translate one of the properties files provided by the SiteMinder Web Agent into the language of your choice. The files are located in web_agent_home/pw.

    For example, copy the PasswordServicesUS-EN.properties file and translate anything to the right of the equals sign (=).

  2. Rename the file according to the convention for Password Services, which is PasswordServiceslanguage-country.properties

    Note: RFC 3066 defines the language tags that you can use as part of the naming convention. See IETF. Also, if the ACCEPT_LANGUAGE variable returned by the browser uses only the language tag as its value, then rename the file as PasswordServiceslanguage.properties instead.

    Be sure the browser is set for the correct language.

    If you set multiple languages for the browser, Password Services will only use the first language in the list. If the Password Services CGI cannot find a properties file for that language, the English properties file is used. The other languages specified for the browser are ignored.


Copyright © 2010 CA. All rights reserved. Email CA about this topic