There is a Hilary ticket that might be exposing the list of available languages in a more convenient fashion. Once that's there, we can probably re-use that here to re-build the list.