rename getLanguageById to getLanguage