Group locales by country and store
In this optional lesson, you will group your new locales by country and separate them by store. Grouping locales by country and store ensure that a store in a particular country only has the languages it requires.
There may be times when a locale ending in _US or a locale ending in _CA may be the deciding factor in how a store is created. All locales ending in _US we can assume are United States stores. All locales ending in _CA we can assume are Canadian stores. For our example, en_CA and fr_CA both apply to the same store. To do this you will publish two stores. Using WebSphere Commerce Accelerator you will change the profile of each store assigning 'storeA' only United States English in the Selected Languages list, and store 'storeB' only Canadian English and Canadian French in the Selected Languages list.
Creating stores for each country
About this task
Procedure
- Publish your store through the WebSphere Commerce Administration
Console:
- Log into the Administration Console using your user id and password.
- On the Site/Store selection page make sure the Site radio list is selected.
- Click OK.
- Click Store Archives and select Publish.
- Follow the publish wizard steps to publish your store.
- Click Store Archives > Publish Status and Refresh until your store has successfully published.
- logoff the Administration Console.
- Publish a second store through the Administration Console following the directions of the previous step.
- Change your stores profiles:
Results
Mapping locales to your store
About this task
Procedure
Results
You have now grouped the locales by country, and separated them by store. In turn, you now have added two fully functional locales to your WebSphere Commerce instance.