code: def get_language(self):
          
          return get_language_parameter(self.request, self.query_language_key, default=self.get_default_language(object=object))
docs: Get the language parameter from the current request.