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:
Extract the following files from the
<ATG10dir>/CommerceReferenceStore/store/Storefront/lib/classes.jarfile:WebAppResources.propertiesWebAppResources_de.propertiesWebAppResources_es.properties
Place copies of the extracted files in the
<AT1010dir>/home/locallib/atg/projects/store/webdirectory.At this point, you should have four
WebAppResourcesfiles in this directory, one each for English, German, Spanish, and Italian.In each
WebAppResourcesfile, search for thenavigation_countrykey. You should see existingnavigation_countrykeys for United States and Germany.Add a
navigation_country.storeSiteITkey for Italy. The value for this key will depend on the language of the resource bundle, for example:For
WebAppResources.properties, addnavigation_country.storeSiteIT=ItalyFor
WebAppResources_de.properties, addnavigation_country.storeSiteIT=ItalienFor
WebAppResources_es.properties, addnavigation_country.storeSiteIT=ItaliaFor
WebAppResources_it.properties, addnavigation_country.storeSiteIT=L'Italia
Save the resource bundles.

