Closed kabacs closed 2 years ago
@kabacs Hi, can you please share some screenshots? thank you
Hi, this is my code, in this case returning all cities from Portugal:
The output from this request is then:
For example, the ID 90434, the name should be "Angra do Heroísmo", as with ID 90441, the name should be "Calheta de São Jorge", etc.
Also detected this with "United Kingdom", ex:
In this case, the output will be:
But if the string is together:
The output then is:
(Notice that the string in the names do not have spaces between them)
Thank you, Ricardo Cabanelas
@kabacs Thank you for all the above. At first, the name of the country in the database is only used for filtering and in the return, the name is localized by taking into consideration the locale set in the HTTP header. I would filter by the iso field like:
'filters' => ['iso2' => 'FR']
Regarding the states and city names, the issue was fixed, i thank you for the patience you took to report this. I am updating the version to 1.0.5
@nnjeim thanks for the awesome package, plan on using it in production.
While exploring your package I came across this anomaly - there is no space between words in data on the database tables. All country, state, and city names are like this.