parsing locales
Merge pull request #162 from segmentio/amplitude/parse-locales

amplitude: add locale parsing