parameters: (self, locale)
docstring: Sets the locale code for this request.
  
          :param locale:
              A locale code.
docstring_summary: Sets the locale code for this request.
docstring_tokens: Sets the locale code for this request .
function: def set_locale(self, locale):
          """Sets the locale code for this request.
  
          :param locale:
              A locale code.
          """
          self.locale = locale
          self.translations = self.store.get_translations(locale)
function_tokens: def set_locale ( self , locale ) : self . locale = locale self . translations = self . store . get_translations ( locale )