Commerce Server 2009 updates for _PresentationInfo.xml files in Profile Web Service
In Commerce Server 2009 we have a new feature as part of the new default sites. This is the Store Locator. The Store Locator provides the ability to have a user enter an address or zip code and find all of your store locations along with getting driving directions. Prior to using the Customer and Orders Manager to create your store objects and Virtual Earth configuration object you will need to update the <language>_PresentationInfo.xml files to include the needed profile object display information.
In the Commerce Server 2009 Installation Guide we include the profile information that needs to be added but it is only for the English language. As Commerce Server 2009 includes support and <language>_PresentationInfo.xml files for English, German, French and Japanese you can take one of the following approaches to updating each file.
- Use the English language profile information from the installation guide and place it in each <language>_PresentationInfo.xml file. This will permit the profile objects to be created successfully for each language supported but the text will be in English for all languages.
- Use the English language profile information from the installation guide and place it in the en_PresentationInfo.xml file. This will update the English language version of the file. For the other languages use the same profile content but manually translate and edit the displayName=”…” and description=”…” entry in each line to reflect the language of the selected _PresentationInfo.xml file.
For those that choose to use option number 2 above, I’ve attached an XML file that has the profile information already translated for each language. The translation were done using online translation tools and some input from native speakers of German and French so the translations on some items may need to be reviewed prior to use. Just wanted to offer the information to help get you up and running as quickly as possible.