Closed evilsh3ll closed 2 years ago
Thanks for asking this question. The names used by this library are the ISO 639-3 reference language names and ISO 639-5 English names. For Greek, you have to choose between Modern Greek (1453-)
and Ancient Greek (to 1453)
.
>>> from iso639 import Lang
>>> Lang('Modern Greek (1453-)')
Lang(name='Modern Greek (1453-)', pt1='el', pt2b='gre', pt2t='ell', pt3='ell', pt5='')
>>> Lang('Ancient Greek (to 1453)')
Lang(name='Ancient Greek (to 1453)', pt1='', pt2b='grc', pt2t='grc', pt3='grc', pt5='')
Thank you for the fast response
Hello, when I try to parse
print(Lang("Greek").pt2b)
the language "Greek" I get this error:Do you know why? Greek should be included in iso639-2 Which iso standard should I use in order to get Greek included too?