[BUGFIX] Convert languageId to integer before passing to getLanguageById