Sitecore Language resolver didn’t change much since I am working with Sitecore. I remember John West blog post explaining the order of resolution.
- The sc_lang query string parameter.
- The language prefix in the path in the requested URL.
- The language cookie associated with the context site.
- The default language associated with the context logical site.
- The DefaultLanguage setting specified in web.config.
But what if I would like to change it ?
- The sc_lang query string parameter.
- The language prefix in the path in the requested URL.
- The language cookie associated with the context site.
- The language corresponding to visitor IP – using Geolocation service
- The default language associated with the context logical site.
- The DefaultLanguage setting specified in web.config.