changed type if LanguageId to int