update _map_locales()

In the _map_locales() function, it is string the string in the dictionary as the class presents it. This is an with classes that present mixed case eg: `ArabicLocale.names = ['ar', 'ar_EG']`. By lowering the case, it matches the functionality in `get_locale(name)`:18