Extract method.

We'll be able to reuse the getWorkingLanguagesForDropdown method.