maxmind/mmdbwriter

Implement mmdbwriter.options Languages type

ViperGDC opened this issue · 3 comments

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

image

do we need the Descripton map option also?

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

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.

never mind i figured it out :)

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