protected static TranslationItem AddLanguageVersionToTranslationItem([NotNull] ContentReference contentLink, [NotNull] string translation, [NotNull] LanguageSelector languageSelector) { // Create the base language version TranslationItem translationItem = CmsContext.CreateLanguageVersionOfContent <TranslationItem>( contentLink, languageSelector); // Change the properties that need changing for this version. translationItem.Translation = translation; return(translationItem); }