What about when it's a locale that's not in the list? Looks like that might throw a key error.