Diaoul / babelfish

BabelFish is a Python library to work with countries and languages
BSD 3-Clause "New" or "Revised" License
25 stars 13 forks source link

Language.fromname('Pashto') fails with LanguageReverseError #22

Open labrys opened 7 years ago

labrys commented 7 years ago

Language.fromname('Pashto') fails. 'Pashto' is a valid alternate spelling (per ISO 639-2) of 'Pushto' which works correctly.

Steps to recreate:

from babelfish import Language
Language.fromname('Pashto')

Tested on Win 10 / Python 3.5 x64