Geo API ip address?

Advise the service to determine the city's ip address. Who wakes to give the city in 2 languages Rus, Ukr.
Request of the city going to do through javascript ajax.
June 3rd 19 at 19:18
2 answers
June 3rd 19 at 19:20
there is no Ukrainian language. - vivian_Flatley commented on June 3rd 19 at 19:23
there like and not Russian, and I'm honestly not sure there are such services which give such information in Russian and Ukrainian. I think it is necessary a separate layer to do – I mean the localization of the obtained data. - Alysson_Gaylord commented on June 3rd 19 at 19:26
https://ua.sxgeo.city/json/
https://maps.googleapis.com/maps/api/geocode/json
Please learn to use Google.
There are services. Only through the ass all the Google ip does not give a location. we have one service to oznachat latitude longitude in another city - vivian_Flatley commented on June 3rd 19 at 19:29
thanks for the advice, it is not clear why you they did not use initially. - Alysson_Gaylord commented on June 3rd 19 at 19:32
stupid option. you depend on the heap environment.
I need to pay the Ukrainian location service over ip? which works in 2 languages-Ukrainian and Russian. - vivian_Flatley commented on June 3rd 19 at 19:35
you are a very rude man, once so much annoyed at the answer, which is not suitable for your specific case. No one here is obliged to solve your problem the way you want it. If you are not satisfied with the response – can't they just use it, it's just.
Well, Yes, fuck, please) - Alysson_Gaylord commented on June 3rd 19 at 19:38
June 3rd 19 at 19:22
Had a similar problem, only in other languages. The solution was this:
1. by IP know the longitude and width
2. Through the services of google, etc. For geo-data looking for the name of the area in the selected languages.

It was only a server-based solution.

By the way, is not very clear why you learn the info about the IP via Ajax. If we determine the city of the current user, you can use the geolocation api coordinates he gives. If it is necessary to determine the status of the IP address, it is easier to do where the IP address is determined, i.e. on the server side. Even nginx has the extension of ip to geo machine. Think about architecture, you may prefer to do things differently.

Find more questions by tags GeoIPJavaScriptGeolocation