The Google geocode api supports Hindi, so you don’t have to translate it into English. Here is an example of using my googleway package (in R) with the language = "hi" argument.
You will need an API key to use the Google APIs through googleway
library(googleway) set_key("your_api_key") res <- google_geocode(address = "village gorthaniya, UP, INDIA", language = "hi") geocode_address(res) # [1] "गोर्थानिया, उत्तर प्रदेश 272181, भारत" geocode_coordinates(res) # lat lng # 1 26.85848 82.50099 geocode_address_components(res) # long_name short_name types # 1 गोर्थानिया गोर्थानिया locality, political # 2 बस्ती बस्ती administrative_area_level_2, political # 3 उत्तर प्रदेश उ॰ प्र॰ administrative_area_level_1, political # 4 भारत IN country, political # 5 272181 272181 postal_code
source share