This should be super simple but for some reason I can't get it to work. I am writing code for migrating data and the items has several versions in both English and Swedish. For some reason I cannot get Sitecore to create a version in English. I'm obviously doing something wrong. I'm not able to track down what is causing it?
the migratedItem
is the item I just migrated in Swedish and that I want to add a English version too.
Item englishItemVersion;
try
{
using (new LanguageSwitcher("en"))
{
englishItemVersion = migratedItem.Versions.AddVersion();
}
}