Ticket #1707: locale.diff

File locale.diff, 404 bytes (added by James Bennett, 19 years ago)

This should do it

  • locale.py

     
    1919
    2020    def process_response(self, request, response):
    2121        patch_vary_headers(response, ('Accept-Language',))
     22        response['Content-Language'] = translation.get_language()
    2223        translation.deactivate()
    2324        return response
    2425
Back to Top