private static string GetBestMultiTextBaseValue(MultiTextBase multiTextBase, BookData bookData) { string alternative = multiTextBase.GetFirstAlternative(); if (bookData != null) { var langs = new List <string>(); langs.AddRange(bookData.GetAllBookLanguageCodes()); langs.Add("*"); langs.Add("en"); var bestAltString = multiTextBase.GetBestAlternativeString(langs); if (!string.IsNullOrEmpty(bestAltString)) { alternative = bestAltString; } } return(DecodeAlternative(alternative)); }