def METHOD_NAME(self, *languages):
    """
    map language to its corresponding code (abbreviation) if the language was passed by its full name by the user
    @param languages: list of languages
    @return: mapped value of the language or raise an exception if the language is not supported
    """
    for language in languages:
        if language in self._languages.values() or language == "auto":
            yield language
        elif language in self._languages.keys():
            yield self._languages[language]
        else:
            raise LanguageNotSupportedException(
                language,
                message=f"No support for the provided language.\n"
                f"Please select on of the supported languages:\n"
                f"{self._languages}",
            )