I'm looking for a way to open Files view of a project for a designated target language when the project contains multiple target languages.
My current code is like this:
var projectsController = SdlTradosStudio.Application.GetController<ProjectsController>();projectsController.Open(fileBasedProject);
But this just opens Files view for the last opened target language.
I want to do something like:
var projectInfo = fileBasedProject.GetProjectInfo();var enUS = projectInfo.TargetLanguages.FirstOrDefault(x => x.IsoAbbreviation == "en-US");projectsController.Open(fileBasedProject, enUS);
I would appreciate any advice.