Check if supported language before set
Merge pull request #2 from Fridus/master

Check if supported language before set