nnjeim / world

A Laravel package which provides a list of the countries, states, cities, currencies, timezones and languages.
MIT License
737 stars 104 forks source link

Missing country language entry for XK (Kosovo) #52

Closed verstratenbram closed 1 year ago

verstratenbram commented 1 year ago

Describe the bug When fetching the country with iso2 XK we get a missing name:

[
    "id" => 116,
    "iso2" => "XK",
    "name" => "world::country.XK",
]

To Reproduce Steps to reproduce the behavior:

  1. call:
    World::countries( [ 
    "fields" => "iso2,name"
    "filters" => [
    "iso2" => "XK"
    ]
    ]);
  2. See the missing county name in the result.

Expected behavior When fetching the country with iso2 XK we should get:

[
    "id" => 116,
    "iso2" => "XK",
    "name" => "Kosovo",
]
nnjeim commented 1 year ago

@verstratenbram Thank you for this. I have added the localisation of the name of the country Kosovo. Please consider pulling 1.1.24