I am working on a sitecore 7.1 site which in Web.config is set to a Swedish language.
<site name="SiteName" language="sv-SE" ... />
It works as expected if I go to a page which only has a Swedish version, but if an English and Swedish version of an Item exists, it prefers the English version. How can I change it so it prefers the Swedish version by default even if an English version exists.
I've read John West's post on how Sitecore language can be set here and of the five ways he mentions language can be set, I think the following 2 may be y pertinent to me, but I'm not sure:
- Language cookie associated with context site: in my request, I see there is a cookie se#lang=sv-SE. First is this the site context language cookie? If yes, then language is getting set elsewhere down the pipeline.
- The default language associated with the context logical site. I'm not sure how to get at this.
I think this is more of a feature than a bug. I narrowed down the causes on my end and it appears to be caused by the following.