version 1.7 - added language aliases, improoved language checks