Nominatim Results Language

Naveen8 years ago

Hi, Greetings!
I have setup a nominatim server and its working fine for reverse geocoding with traccar.
I am getting the address results stored in mysql database in arabic lanuguage.
However, when i pass the latitude and longitude to the same nominatim server via browser, i get the results in english.

is there a way to get the address results from Nominatim in English?
Please let me know.
Thanks in advance.
regards,
Naveen

abyss8 years ago

You can set geocoder.language configuration parameter.

Naveen8 years ago

Hi Abyss,

Thank you.

Please can you share link for any documentation on how to get this done.
regards,

Naveen

abyss8 years ago
Naveen8 years ago

Hi, I couldn't find anything specific to language from this link. Can you resend details please

abyss8 years ago

As I said before

"You can set geocoder.language configuration parameter."

How to set this parameter described in this link https://www.traccar.org/configuration-file/

What value to set you have to check in nominatim documentation https://wiki.openstreetmap.org/wiki/Nominatim#Parameters

Naveen8 years ago

Thank you Abyss.

Adding

<entry key='geocoder.language'>en-us</entry>

in the configuration solved the problem.
Now results are in English.

mohanand8 years ago

Hi, Which OS are you using for the Nominatim server ?

Naveen8 years ago

Hi, i use Ubuntu 16.04 LTS server