fix typo
handle locales with extra parameters

Handle locales with more fields than the standard

Close #26