I have code to add a machine translation Translation Provider, and a button to run that code that appears in the ribbon in the project list view, the file list view, and the Editor. It runs correctly when the projects list or files list is the current view, but when the Editor is open, the GetLanguageDirection method is not being called. How can I incorporate the information that method provides into the project, or somehow unlock the project settings so that my Translation Provider is immediately used?