# How to get json response data in custom language?

**URL:** <https://community.ipinfo.io/t/how-to-get-json-response-data-in-custom-language/5717>\
**Category:** General\
**Created:** [July 27, 2024, 7:53am UTC](https://community.ipinfo.io/t/how-to-get-json-response-data-in-custom-language/5717 "2024-07-27T07:53:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kylighht](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.ipinfo.io/kylighht/32/1140_2.png) [@Kylighht](https://community.ipinfo.io/u/Kylighht)\
**Post date:** [July 27, 2024, 7:53am UTC](https://community.ipinfo.io/t/how-to-get-json-response-data-in-custom-language/5717/1 "2024-07-27T07:53:05Z")

</div>

Hi folks!  
How can I get IP + address data base on my localization?  
I’m building Chinese app so I can’t use English text.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Abdullah](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.ipinfo.io/abdullah/32/4973_2.png) [@Abdullah](https://community.ipinfo.io/u/Abdullah)\
**Post date:** [July 27, 2024, 2:04pm UTC](https://community.ipinfo.io/t/how-to-get-json-response-data-in-custom-language/5717/2 "2024-07-27T14:04:58Z")

</div>

Hey,

We do not provide location data in different languages, but you can use the [geonames.org](http://geonames.org) data to get custom language support for location data.

I did a small project using geoname’s altname database, which you can explore.

> **[GitHub - abdullahdevrel/geoname\_altname: Parsing and processing foreign language or...](https://github.com/abdullahdevrel/geoname_altname)**
>
> Parsing and processing foreign language or alternative location names from Geonames.org.

## [IP to Geolocation database.](https://ipinfo.io/products/ip-geolocation-database)

- In the repo, download the zip file [geoname\_alt\_names.zip](https://github.com/abdullahdevrel/geoname_altname/blob/main/geoname_alt_names.zip)
- Inject the CSV file in a database software (postgres, sqlite, pandas, or anything) from the zip file.
- From the IP to Geolocation database, get the `geoname_id` and look up the different translations available for a particular geographic point

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/ipinfo/original/2X/b/b12f7088eab809add22ba397768db5d830c9d18e.png)

## [Location API service](https://ipinfo.io/products/ip-geolocation-api) or [Free Databases](https://ipinfo.io/products/free-ip-database)

- In this instance, you have to use the raw `alternateNamesV2.zip` ([download link](https://download.geonames.org/export/dump/)) from [Geonames.org](http://Geonames.org).
- From here you have to injest the database into database software.
- From IPinfo’s data you have to look up the translation from geographic point using a combination of city, region and country code and then get the translated version of that.

You can invest some time into figuring out a solution. I explored [geonames.org](http://geonames.org)’s dataset and our data in this Python Notebook. You should be able to build a solution based on that.

🔗 [https://github.com/abdullahdevrel/geoname\_altname/blob/main/processing\_geonames\_altnames.ipynb](https://github.com/abdullahdevrel/geoname_altname/blob/main/processing_geonames_altnames.ipynb)
