Language tag recognition is case sensitive
njjc opened this issue · comments
Nicolas Campbell commented
En
detected as invalid language tag. Language tag recognition should be case insensitive; EN
, En
, eN
, and en
should all be recognized as English. Thanks!
Nicolas Campbell commented
It looks like adding .toLowerCase() in the simplify_language() method should fix the problem.