GeoDB Cities

FREEMIUM
Verified
Door Michael Mogley | Bijgewerkt לפני 22 ימים | Data
Populariteit

9.9 / 10

Latency

54ms

Serviceniveau

100%

Health Check

100%

Terug naar alle discussies

Language tag

Rapid account: Simon Mercier 59
simon.mercier59
לפני 5 שנים

Hello,

When i search for “Paris” (for example) with “FR” languageCode i got nothing.
Wheter I do this in the demo page or in my application.
This this a get request from the demo page :
GET /v1/geo/cities?limit=5&offset=0&namePrefix=Paris&languageCode=fr

What did I miss ?

Thanks

Rapid account: Wirefreethought
wirefreethought Commented לפני 5 שנים

You got it! Thanks for helping improve the api.

Rapid account: Simon Mercier 59
simon.mercier59 Commented לפני 5 שנים

Thansk !
It works in the demo page.

Rapid account: Wirefreethought
wirefreethought Commented לפני 5 שנים

This fix has been deployed. Please try again.

Rapid account: Wirefreethought
wirefreethought Commented לפני 5 שנים

Ah yes. At some point, I made an optimization to ignore translations where the literal text matched the default English. This is one such case. However, I did not simultaneously update the code to return the default language if the requested one wasn’t found. Will update here once the fix is deployed.

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen