public void Translate(TranslatorLanguage language) { Translator tr = new Translator(); tr.ToLanguage = language; Summary = tr.Translate(Summary); Tagline = tr.Translate(Tagline); string tmp = tr.Translate(Genres.ToString()); Genres.Clear(); foreach (string currGenre in tmp.Split('|')) if (currGenre.Trim().Length > 0) Genres.Add(currGenre.Trim()); }
public void Translate(TranslatorLanguage language) { Translator tr = new Translator(); tr.ToLanguage = language; bioSummary = tr.Translate(bioSummary); bioContent = tr.Translate(bioContent); }