Fix: the variable `currentLanguage` is missing