In this step, we create a copy of the default displayable strings file, WebAppResources.properties, and use it as the basis for the new resource bundle for Italian. The copied file will have all the resource property/value pairs the site needs, which makes it easier to edit the file for the new language.

Note: These changes will not appear until after you rebuild and redeploy the ATGProduction.ear file, which is the last step in this process and is described in Redeploying the ATGProduction.ear File.

To add translations for displayable strings:

  1. Extract the /atg/projects/store/web/WebAppResources.properties file from the <ATG10dir>/CommerceReferenceStore/store/Storefront/lib/classes.jar file.

  2. Create the following directory:

    <AT1010dir>/home/locallib/atg/projects/store/web

  3. Place a copy of the WebAppResources.properties file in the <AT1010dir>/home/locallib/atg/projects/store/web directory you just created.

  4. Rename the copied file to WebAppResources_<code>.properties, replacing <code> with a two-letter, lower-case language code as defined by ISO 639. For our example, we will rename the file to WebAppResources_it.properties.

  5. Edit the WebAppResources_<code>.properties file so that the resource values contain your localized strings and save the file.