code: def set_language(self, language):
          
          self.log([u"Setting language: '%s'", language])
          for fragment in self.fragments:
              fragment.language = language
docs: Set the given language for all the text fragments.
  
          :param language: the language of the text fragments
          :type  language: :class:`~aeneas.language.Language`