Ticket #1707: locale.diff
File locale.diff, 404 bytes (added by , 19 years ago) |
---|
-
locale.py
19 19 20 20 def process_response(self, request, response): 21 21 patch_vary_headers(response, ('Accept-Language',)) 22 response['Content-Language'] = translation.get_language() 22 23 translation.deactivate() 23 24 return response 24 25