The Country picker in Commerce Reference Store references the navigation_country keys in the WebAppResources_<code>.properties files when displaying the list of countries you can pick from; a navigation_country key exists for each site/country combination. In order for a new country’s name to appear in the Country picker you must add it to all of the WebAppResources_<code>.properties files.

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 a new country’s name to the Country Picker:

  1. Extract the following files from the <ATG10dir>/CommerceReferenceStore/store/Storefront/lib/classes.jar file:

    • WebAppResources.properties

    • WebAppResources_de.properties

    • WebAppResources_es.properties

  2. Place copies of the extracted files in the <AT1010dir>/home/locallib/atg/projects/store/web directory.

    At this point, you should have four WebAppResources files in this directory, one each for English, German, Spanish, and Italian.

  3. In each WebAppResources file, search for the navigation_country key. You should see existing navigation_country keys for United States and Germany.

  4. Add a navigation_country.storeSiteIT key for Italy. The value for this key will depend on the language of the resource bundle, for example:

    • For WebAppResources.properties, add navigation_country.storeSiteIT=Italy

    • For WebAppResources_de.properties, add navigation_country.storeSiteIT=Italien

    • For WebAppResources_es.properties, add navigation_country.storeSiteIT=Italia

    • For WebAppResources_it.properties, add navigation_country.storeSiteIT=L'Italia

  5. Save the resource bundles.