parameters: (self, lang, pseudo_if_no_match=True,
                           fallback_to_english=False)
return_statement: return pseudo.PseudoMessage(self.GetMessage())
docstring: Returns the message/translation for the specified language, providing
      a pseudotranslation if there is no available translation and a pseudo-
      translation is requested.
  
      The translation of any message whatsoever in the special language
      'x_constant' is the message "TTTTTT".
  
      Args:
        lang: 'en'
        pseudo_if_no_match: True
        fallback_to_english: False
  
      Return:
        tclib.BaseMessage
docstring_summary: Returns the message/translation for the specified language, providing
      a pseudotranslation if there is no available translation and a pseudo-
      translation is requested.
docstring_tokens: Returns the message / translation for the specified language providing a pseudotranslation if there is no available translation and a pseudo - translation is requested .
function: def MessageForLanguage(self, lang, pseudo_if_no_match=True,
                           fallback_to_english=False):
      '''Returns the message/translation for the specified language, providing
      a pseudotranslation if there is no available translation and a pseudo-
      translation is requested.
  
      The translation of any message whatsoever in the special language
      'x_constant' is the message "TTTTTT".
  
      Args:
        lang: 'en'
        pseudo_if_no_match: True
        fallback_to_english: False
  
      Return:
        tclib.BaseMessage
      '''
      if not self.translateable:
        return self.GetMessage()
  
      if lang == constants.CONSTANT_LANGUAGE:
        return self.CONSTANT_TRANSLATION
  
      for msglang in self.clique.keys():
        if lang == msglang:
          return self.clique[msglang]
  
      if lang == constants.FAKE_BIDI:
        return pseudo_rtl.PseudoRTLMessage(self.GetMessage())
  
      if fallback_to_english:
        self.uber_clique._AddMissingTranslation(lang, self, is_error=False)
        return self.GetMessage()
  
      # If we're not supposed to generate pseudotranslations, we add an error
      # report to a list of errors, then fail at a higher level, so that we
      # get a list of all messages that are missing translations.
      if not pseudo_if_no_match:
        self.uber_clique._AddMissingTranslation(lang, self, is_error=True)
  
      return pseudo.PseudoMessage(self.GetMessage())
function_tokens: def MessageForLanguage ( self , lang , pseudo_if_no_match = True , fallback_to_english = False ) : if not self . translateable : return self . GetMessage ( ) if lang == constants . CONSTANT_LANGUAGE : return self . CONSTANT_TRANSLATION for msglang in self . clique . keys ( ) : if lang == msglang : return self . clique [ msglang ] if lang == constants . FAKE_BIDI : return pseudo_rtl . PseudoRTLMessage ( self . GetMessage ( ) ) if fallback_to_english : self . uber_clique . _AddMissingTranslation ( lang , self , is_error = False ) return self . GetMessage ( ) # If we're not supposed to generate pseudotranslations, we add an error # report to a list of errors, then fail at a higher level, so that we # get a list of all messages that are missing translations. if not pseudo_if_no_match : self . uber_clique . _AddMissingTranslation ( lang , self , is_error = True ) return pseudo . PseudoMessage ( self . GetMessage ( ) )