Changed getlanguage to getlang.