You can use resource bundles to localize promotions templates. The resource bundles must be placed in the following directory:

<ATG10dir>/ATG10/home/locallib

To specify a bundle for key/value retrieval, use the resource-bundle attribute of the ui-description element:

<ui-description available-in-ui="false" resource-
bundle="atg.remote.promotion.template.Resources" display-name-
resource="template.item.advancedItemDiscount.title" >

If a user views a template that refers to a resource bundle that has not already been loaded, the client attempts to locate the new bundle before displaying the template. If it cannot do so, the client displays an error message, and the template includes the resource keys instead of the localized strings.


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