Support for multiple locales

To improve the functionality of translated web pages, the language or locale code is now always included in URLs for pages that are not in the website's default language.

If a language is used with only one locale, then the language code is used in the URL. For example, if you offer French content in Canadian French only, then "fr" is used in the URL.

If a language is used with more than one locale, then the language code is used with the locale that is first in the list of available languages for the site. For example, if French (France) is listed before French (Canada), then fr-CA is used in the URL for Canadian French content.