<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def override_language(self, language):
 """ Context manager to override the instance language. """

        previous_language = self._linguist.language
        self._linguist.language = language
        yield
        self._linguist.language = previous_language