fix error when language was not English, better method to check language
Merge pull request #9 from TomOne/firefox-fix

fix error when language was not English, better method to check language