Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement mmdbwriter.options Languages type #27

Closed
ViperGDC opened this issue Oct 22, 2021 · 3 comments
Closed

Implement mmdbwriter.options Languages type #27

ViperGDC opened this issue Oct 22, 2021 · 3 comments

Comments

@ViperGDC
Copy link

Hello I am finding it difficult to implement the Languages option in mmdbwriter.options

image

do we need the Descripton map option also?

@oschwald
Copy link
Member

Could you expand a bit more on the problem you are running into?

@ViperGDC
Copy link
Author

ViperGDC commented Oct 22, 2021

hey @oschwald , sure thing. This has to do with the other issue you replied to here (maxmind/mmdb-from-go-blogpost#9) I used mmdblookup in verbose and noticed a few things, first i was able to correct the database types but i also noticed there was a difference with the database metadata from the GeoLite2-Country and my custom one.

GeoLite2-Country:
image
vs.
My custom one:
image

So i am thinking it has something to do with this Language option but cant quite figure out how it fits in. Apologies in advance programming is not my strong suite.

@ViperGDC
Copy link
Author

never mind i figured it out :)

                    Languages: []string {"en"},
                    Description: map[string]string {"en": "GeoLite2 Country database"},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants