When designing your Web site, you may want to add options to your Web pages that allow users to change the initial request locale that Dynamo has assigned them to one of the other request locales that is supported by the site. For example, you can set up a Preferences page where users can define their language choice. This language preference will be carried across site visits. To do this, design a page with a profile form that presents a list of supported locales, and use the form to update the locale property in the profile or the /atg/dynamo/servlet/RequestLocale.localeString property. Make sure that /atg/dynamo/servlet/pipeline/DynamoHandler.generateRequestLocales is set to true.

The locale that the user specifies does not take effect automatically. For information on the code you must include to update the locale, see also Updating the RequestLocale below.

 
loading table of contents...