fix bug 647796 - shorter locales
Merge pull request #892 from darkwing/ua-parse-647796

fix bug 647796 - shorter locales