Tutorials > Management Center > Add a new locale for Management Center

< Previous | Next >


Including locale information into WebSphere Commerce configuration file

In this step of the tutorial, you include the locale information by updating the instance configuration file.


Procedure

  1. Back up the WebSphere Commerce configuration file WC_EAR\xml\config\wc-server.xml See See WebSphere Commerce configuration file.

  2. Edit the wc-server.xml file to add an entry for the en_GB locale.

    1. Search for <Instance. Append ,wcs.bootstrap_multi_en_GB.xml to the BootstrapMulti attribute within the <Instance element.

    2. Append ,110 to the SupportedLanguages attribute within the <Instance element

      For example:

      <Instance
            BootstrapMulti="wcs.bootstrap_multi_en_US.xml,wcs.bootstrap_multi_fr_FR.xml,wcs.bootstrap_multi_de_DE.xml,              wcs.bootstrap_multi_it_IT.xml,wcs.bootstrap_multi_es_ES.xml,wcs.bootstrap_multi_pt_BR.xml,wcs.bootstrap_multi_zh_CN.xml,              wcs.bootstrap_multi_zh_TW.xml,wcs.bootstrap_multi_ko_KR.xml,wcs.bootstrap_multi_ja_JP.xml, wcs.bootstrap_multi_en_GB.xml"
            ChannelOrgDN="ou=Channel Organization,o=Manufacturer Organization,o=Root Organization"
            ConfigFilePath="C:\WCTOOL~1/conf"
            DefaultLang="-1"
            DefaultStoreAlias="wcsstore"
            DistributorProxyOrgDN="ou=distributor proxy organization,o=demand chain management organization,o=root organization"
            EnableDoubleClickHandler="true"
            FrameSupported="true"
            InstanceName="demo"
            InstanceType="local"
            MerchantKey="ldbrNlajddp8od+xZpJDiK/DbuVqOEE+"
            PDIEncrypt="on"
            PVCHeader="false"
            ParentResellerOrgDN="o=reseller organization,o=root organization"
            SiteAdminID="wcsadmin"
            SiteAdminPassword="CCYigxbcX0tQMqTTKKw98g=="
            StoreWebModuleName="Stores"
            SupportedLanguages="-1, -2, -3, -4, -5, -6, -7, -8, -9, -10, 110"
            UrlMappingFile="C:\WCTOOL~1\xml\mapping\urlmapper.xml"
            UseGlobalInstance="false"
            WCSInstallDir="C:\WCTOOL~1" WorkspacePath="C:\WCTOOL~1/workspace"/>
      

    3. Save and close the file.

  3. Start the WebSphere Commerce Test Server .

  4. Open the WebSphere Commerce Accelerator.

  5. From the Store name list, select Madisons store.

  6. From the Language list, select United States English.

  7. Click Store > Change Profile.

  8. Click the Language tab to view a list of Available Languages, select United Kingdom English, and add to the list of Selected Languages .

  9. Click Logout.

You have included the new locale into the WebSphere Commerce instance. In the next step, you create Management Center properties files and resource bundle files for the en_GB.

< Previous | Next >


+

Search Tips   |   Advanced Search