firstly check the language

firstly check the language, because this is required for "check for
duplicates", if only one language is installed