isLanguage() validation added