Fix language availability checking
Merge pull request #8 from jeromelebleu/master

Fix language availability checking