private TableSection CreateLanguageTableSection() { var tableSection = new TableSection(LanguageFile.GetString("language")); var textCells = Therapist.Therapist.Languages.Select(l => LanguageFile.TranslateLanguage(l)).Select(l => new TextCell { Text = l, TextColor = BlueGray }).ToArray(); if (textCells.Any()) { tableSection.Add(textCells); } else { tableSection.Add(new TextCell { Text = LanguageFile.GetString("nolanguages"), TextColor = FadedBlueGray }); } return(tableSection); }