parameters: (self)
docstring: Only generate a span with lang info when the language is recognized.
docstring_summary: Only generate a span with lang info when the language is recognized.
docstring_tokens: Only generate a span with lang info when the language is recognized .
function: def process(self):
      "Only generate a span with lang info when the language is recognized."
      lang = self.header[1]
      if not lang in TranslationConfig.languages:
        self.output = ContentsOutput()
        return
      isolang = TranslationConfig.languages[lang]
      self.output = TaggedOutput().settag('span lang="' + isolang + '"', False)
function_tokens: def process ( self ) : lang = self . header [ 1 ] if not lang in TranslationConfig . languages : self . output = ContentsOutput ( ) return isolang = TranslationConfig . languages [ lang ] self . output = TaggedOutput ( ) . settag ( 'span lang="' + isolang + '"' , False )