Diaoul / babelfish

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

Language.fromname('Divehi') fails with LanguageReverseError #23

Open labrys opened 8 years ago

labrys commented 8 years ago

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

Steps to recreate:

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

Tested on Win 10 / Python 3.5 x64