November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Hi,
Do you mean that all pages are in English and you need new page in Swedish (it not difficult)?
Or you want to crete Language Branch without Language (it could be difficult)?
In our case the new page should only be added to the language it was created from. For example if the page is created from english language then it should be available in english, if the page is created from german language that it should be available only in german langugae.
Thanks
Did you tried simply set the Language property?
IContentRepository cr = ... var page = cr.GetDefault<ModelType>(ContentReference.StartPage); page.Language = new CultureInfo("de");
There is also overload version of GetDefault. Maybe this will work?
IContentRepository cr = ... var page = cr.GetDefault<ModelType>(ContentReference.StartPage,new CultureInfo("de"));
Hi,
Is it possible to create a page programmatically in secondary language, and not have that in the primary language.
Thanks