ContentManager query get selected terms for culture

Topics: Localization
Nov 14, 2014 at 12:32 PM
I need to query a taxonomy field for selected terms. But I need to get the culture-specific terms in code. So this is how I would normally do this, but this does not cater for multilanguage?
_orchardServices.ContentManager.Query("Location")
                        .Join<TitlePartRecord>()
                        .Join<AutoroutePartRecord>()
                        .List()
                        .Select(x =>
                            {
string city = ((List<TermPart>)((dynamic)x).Location.Continent.Terms).Any() ? ((dynamic)x).Location.Continent.Terms[0].FullPath : string.Empty;
How do I go about this?