Adding a Language to the Site

When you add a language to the site you will need to perform a few separate tasks. You will need to add a localized resource assembly for all the text strings on the site. You will need to extend the locale selection page so that a user can select the additional language. If your site contains images with text, such as the CompanyLogo.jpg file, you will need to create localized versions of those files. For more information about localized images, see Retail2002\Images Folder. Adding a language to a catalog is done through Commerce Server Business Desk, and is distinct from the site languages. For more information about managing languages in a catalog, see Creating a Multilingual Catalog.

The following procedure describes how to extend the locale selection page and add localized string resources to the site.

To add a new language to the International Retail Site

  1. Add an image for new language or culture to the Retail2002\Images folder. The image file should be the same size as the existing welcome images.
  2. Add an asp:LinkButton Web server control to the LocaleSelection Control.
  3. Modify the styles.css file to support the new asp:LinkButton Web server control and image.
  4. Add the localized satellite resource assembly.
  5. Add a reference to the satellite assembly to the MessageManager, Cultures section in the web.config file.

Copyright © 2005 Microsoft Corporation.
All rights reserved.