When designing your web site, you might want to add options to your web pages that allow users to change the initial request locale assigned by the Oracle ATG Web Commerce server to one of the other request locales that the site supports. For example, you can set up a Preferences page where users can define their language choice. This language preference is 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.

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices