Use the Commerce Server plug-in to change the language of a default
culture
Complete the following prerequisites:
-
Create a new .config file in the Website\App_Config\Include
directory of your Sitecore site.
Note: The system applies the files in alphnumeric order. Ensure the file
containing your overrides is named to run after
CommerceServer.config, For example
zzCommerceServer.config or My.Overrides.CommerceServer.config
-
Create a configuration section that overrides the culture attribute of a
specific language.
For example, the following configuration instructs the Commerce data
providers to use the en-CA culture in the Commerce catalog system when the en
language is selected in
Sitecore
(by default the en-US culture is
used).
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<commerceServer>
<defaultLanguageCulture>
<language name="en" culture="en-CA" patch:instead="language[@name='en']" />
</defaultLanguageCulture>
</commerceServer>
</sitecore>
</configuration>
-
Save and close the file
-
Restart IIS.