try to read language from the class