Looking for the v10 manual? Visit our new user's guide!
Search Descriptions Version
This article applies to: ML v7

Configuring your site to use a single non-US locale

While the storefront can be configured to use multiple locales very easily, there are times when a site may need to simply set the storefront to a single locale other than en-US.

In this example, we will convert a stock en-US site to en-GB.

1 -Open your website's StringResources folder in the root of the site.  Make a copy of the strings.en-US.xls file and rename it to strings.en-GB.xls.

If this were a different language or culture, you could also apply a language pack or perform your translations at this time.

2 - Go to Misc->Currencies in the admin site.  Check "Publish" next to British Pound.  The display locale will be en-GB.  Do not unpublish USD yet!

Note:  If the currency you wish to display is not listed, you may add it at this time.  Visit http://en.wikipedia.org/wiki/ISO_4217 for applicable currency codes.

3 - Go to Misc->Locale Settings in the admin site.  Click "Add New" and enter en-GB as the name.  Enter a Description and set the currency to GBP.  Click "Save."

Once you have saved your new locale, click the "Reload From Excel File on Server" button.  This will load your new string resources from the file created in Step 1.

Follow the on-screen directions to upload all of the strings (don't forget to hit the Begin Reload Processing link after all the strings show on the page - it's easy to miss).  Then click the Reset Cache link to complete the upload.

4 - From the root of your website, open the web.config file in Visual Studio or a text editor and look for the GLOBALIZATION section.  Change the "en-US" references to "en-GB".

5 - Go to Misc->Locale Settings in the admin site and delete the en-US locale.  Then from Misc->Currencies, uncheck "Published" next to USD.

6 - Go to Misc->AppConfig Parameters and search for Localization.  You must set the Localization.StoreCurrency AppConfig to GBP, and Localization.StoreCurrencyNumericCode to 826.