public static List <DropDownItemData> GetAvailableUmLanguages() { MultiValuedProperty <UMLanguage> multiValuedProperty = Utils.ComputeUnionOfUmServerLanguages(); List <DropDownItemData> list = new List <DropDownItemData>(multiValuedProperty.Count); bool isRtl = RtlUtil.IsRtl; list.AddRange(multiValuedProperty.ConvertAll((UMLanguage x) => new DropDownItemData(RtlUtil.ConvertToDecodedBidiString(x.Culture.NativeName, isRtl), x.Culture.LCID.ToString()))); return(list); }