Closed karussell closed 7 years ago
I checked for Nominatim and Opencage, but both do not return a locale, but both allow for querying a locale. But there seems to be no option to view the returned locale.
We could just return the queried locale. Or we could setup a check if the given locale is a valid locale, and only return it if it is valid. Otherwise, return en
. Not sure if there is another option?
Then I also see no other possibility.
See review: https://github.com/graphhopper/directions-api-java-client/pull/20#pullrequestreview-778871