Answer the question
In order to leave comments, you need to log in
The geocoder gem partially returns the result in English. Possible to fix?
Geocoder.search("Москва", params: {language: :ru}).first
"address"=>{"city"=>"Moscow", "state_district"=>"Central Administrative Okrug", "state"=>"<b>Moscow</b>", "country"=>"Russia", "country_code"=>"ru"}
Answer the question
In order to leave comments, you need to log in
Works if changed
Geocoder.search("Москва", params: { language: :ru }).first
on theGeocoder.search("Москва", params: { 'accept-language': :ru }).first
✌️
Alas, not if you use Google. Huyandex works better with the Russian language.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question