langcodes icon indicating copy to clipboard operation
langcodes copied to clipboard

How do I get a list of all languages to loop over?

Open delebash opened this issue 2 years ago • 4 comments
trafficstars

Tried this dc = langcodes.Dict.items()

delebash avatar Feb 14 '23 23:02 delebash

AC.

I also need this, didn't find a documentation about this (even on ChatGPT is not updated). How can I get a list of all languages?

guimatheus92 avatar Apr 26 '23 00:04 guimatheus92

languages.txt you can use this list that I extracted from langcodes. very suprised why langcodes dosent support a basic functionality like this

aaravrav avatar Jul 07 '23 03:07 aaravrav

languages.txt you can use this list that I extracted from langcodes. very suprised why langcodes dosent support a basic functionality like this

How did you do this?

jsaunders92 avatar Aug 09 '23 13:08 jsaunders92

very suprised why langcodes dosent support a basic functionality like this

I don't want to be harsh here, but the reason is nobody worked on this. The project is not backed by a company and didn't have any funding, so please try to be kind instead of putting pressure on the people working on it. However, if you want to file a PR, its really welcome.

If you want to request new features, feel free to do so on https://github.com/georgkrause/language_data/issues

georgkrause avatar Apr 08 '24 11:04 georgkrause