Registers given language in the :obj:`LanguagesModel.languages` class property.

        :param language: Language to register.
        :type language: Language
        :return: Method success.
        :rtype: bool

def register_language(self, language):
        """
        Registers given language in the :obj:`LanguagesModel.languages` class property.

        :param language: Language to register.
        :type language: Language
        :return: Method success.
        :rtype: bool
        """

        if self.get_language(language):
            raise foundations.exceptions.ProgrammingError("{0} | '{1}' language is already registered!".format(
                self.__class__.__name__, language.name))

        LOGGER.debug("> Registering '{0}' language.".format(language.name))

        self.__languages.append(language)
        self.sort_languages()
        return True