Bug 976346 - Link language names to user lists corresponding to those languages

Please, look at my changes
You could implement that without iterating all the items. You can return ``loc`` at the first time you access ``name`` else return None.