changed self.context['request'].locale to self.context['request'].LANGUAGE_CODE
changes from .locale to .LANGUAGE_CODE