in my test I do:
self.client.get('/')
in my template I access:
request.LANGUAGE_CODE
in the browser it works fine with the Django client I get
Failed lookup for key [LANGUAGE_CODE] in ''
From the output I believe that the request is not set in the client.