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

Add country languages #19

Open
leandro-lugaresi opened this issue Aug 2, 2020 · 6 comments
Open

Add country languages #19

leandro-lugaresi opened this issue Aug 2, 2020 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@leandro-lugaresi
Copy link

HI!
Thanks for the project, this is awesome work!

I'm using your library to import geolocation data and need the official languages by a country.

To solve that, I'm building a list of country codes and languages.

WDYT about put this info inside the library? If ok for you I can open a PR for these.

@biter777
Copy link
Owner

biter777 commented Oct 19, 2020

Yeah, PR would be great!

Of course, I considered this functionality, but my hands never got to it. :)
Imho, the language codes should, if possible, be compatible with language.Tag
(see https://godoc.org/golang.org/x/text/language#Tag and https://github.com/golang/text/blob/master/internal/language/compact/tables.go).

@biter777 biter777 added the help wanted Extra attention is needed label Jul 17, 2021
@lucasdss
Copy link

Is anyone working on this?

@futuarmo
Copy link
Contributor

futuarmo commented Feb 6, 2023

@leandro-lugaresi, please, publish your table of languages somewhere

@biter777
Copy link
Owner

Is anyone working on this?

Not yet

@loeffel-io
Copy link

we need this too!

@curiosport
Copy link

A reference I guess:
https://saimana.com/list-of-country-locale-code/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants