Comments (5)
It is very easy to tie geoname_id
to data provided by GeoNames.org as I described here: https://github.com/bbkr/GeoIP2#translations
I think this task can be closed - there is no right way to do it in GeoIP database because there may be various interpretations of what "native" language is.
from maxmind-db.
Thanks for the idea! We have discussed something like this previously but have not pursued it as we have always run into a few issues. In many countries, more than one language is spoken and the local name may differ in those different languages. We did consider using the official government names, but it is common for those names to be long and awkward and not what people actually use, e.g., "Commonwealth of Massachusetts" for "Massachusetts" in the United States. Also, we use GeoNames for our name data and, although they do have some flags around these things, we have not found that data to be consistent or very high quality.
from maxmind-db.
I agree, native names in multiple native languages will be a challenge to present in consistent manner. Maybe something like:
{
'city' => {
'names' => {
'en' => 'Gdansk',
'de' => 'Danzig', # this is present if language is mentioned in metadata as translation
'pl' => 'Gdańsk' # this is additionally present if language is mentioned in result as official
}
},
'official_languages' => [ 'pl' ] # would be a nice addition on its own
}
Or maybe just:
{
'names' => { ...},
'official_names' => {
'pl' => 'Województwo pomorskie'
}
}
So far I resolved this issue by using http://www.maxmind.com/GeoIPLocationCSV-localized.zip by geoname_id and correlated with list of official languages for each country. Yes, "official" names are weird, but querying it is far more easier than guessing english translation.
from maxmind-db.
Hi.
I've found that http://www.maxmind.com/GeoIPLocationCSV-localized.zip is missing. What is the new location of this file? Do you still support it?
from maxmind-db.
That file is no longer supported. It had not been updated in many years and was for use with the Legacy databases before GeoIP2 was released.
from maxmind-db.
Related Issues (20)
- Request: add a California-based ip to GeoIP2-City-Test.mmdb
- Possibility to generate testing database instead of using downloaded binary files HOT 2
- How to obtain testfiles for CI without running into licensing issues? HOT 1
- Add localization for Country names HOT 2
- golang reader support HOT 3
- Does the production DB have some IPs which are guaranteed to return a particular value for different fields? HOT 1
- Which test database can be used to test bigger data sizes? HOT 1
- Test database doesn't correctly handle `is_in_european_union` HOT 2
- MD5 files in "incorrect" format (GeoLite2-ASN-CSV.zip.md5) HOT 2
- Gibberish text in ASN database HOT 3
- record size vs record value HOT 1
- The CSV files are missing geo subjects returned by the MMDB HOT 3
- Common IPv4 and IPv6 addresses across IP-based databases HOT 1
- Recent tarballs unreadable by older tar implementations HOT 4
- Source data doesn't match test data HOT 1
- Please rename Perl 6 to Raku on dev.maxmind.com HOT 1
- Overlapping networks HOT 1
- Bad data that looks like it should be good data HOT 3
- Error opening `GeoIP2-City-Test.mmdb` with maxmind.open HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maxmind-db.