Allow for locales with more than two characters.

For instance "Español (Latinoamerica)", which is "es-419".