Locale-Codes icon indicating copy to clipboard operation
Locale-Codes copied to clipboard

Method getByISO6391 should return array

Open stophecom opened this issue 3 years ago • 0 comments

Hi, thank you for this repo.

Now I noticed that according to the docs getByISO6391 is returning one object - but this makes it very limited in scope. Imagine if you search by language code 'en' it should match multiple entries en-US, en-GB, etc. as you correctly have in the table within the readme (screenshot). In other words I'd expect an array of objects. Wdyt?

image

stophecom avatar Dec 08 '21 12:12 stophecom