GeoDB Cities

FREEMIUM
Verified
By Michael Mogley | Updated vor 9 Tagen | Data
Popularity

9.9 / 10

Latency

67ms

Service Level

100%

Health Check

100%

Back to All Discussions

Language tag

Rapid account: Simon Mercier 59
simon.mercier59
vor 5 Jahren

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 vor 5 Jahren

You got it! Thanks for helping improve the api.

Rapid account: Simon Mercier 59
simon.mercier59 Commented vor 5 Jahren

Thansk !
It works in the demo page.

Rapid account: Wirefreethought
wirefreethought Commented vor 5 Jahren

This fix has been deployed. Please try again.

Rapid account: Wirefreethought
wirefreethought Commented vor 5 Jahren

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.

Join in the discussion - add comment below:

Login / Signup to post new comments