from django.conf import settings

def froide(request):
    return {"froide": settings.FROIDE_CONFIG}

def site_settings(request):
    return {"SITE_NAME": settings.SITE_NAME,
            "SITE_URL": settings.SITE_URL,
            "FROIDE_DRYRUN": settings.FROIDE_DRYRUN,
            "FROIDE_DRYRUN_DOMAIN": settings.FROIDE_DRYRUN_DOMAIN}

from django.conf import settings

def froide(request):
    return {"froide": settings.FROIDE_CONFIG}

def site_settings(request):
    return {"SITE_NAME": settings.SITE_NAME,
            "SITE_URL": settings.SITE_URL,
            "FROIDE_DRYRUN": settings.FROIDE_DRYRUN,
            "FROIDE_DRYRUN_DOMAIN": settings.FROIDE_DRYRUN_DOMAIN,
            "LANGUAGE_CODE": settings.LANGUAGE_CODE}

Add Froide Dry Run Domain and Language Code to context_processor
Add Froide Dry Run Domain and Language Code to context_processor
  from django.conf import settings
  
  def froide(request):
      return {"froide": settings.FROIDE_CONFIG}
  
  def site_settings(request):
      return {"SITE_NAME": settings.SITE_NAME,
              "SITE_URL": settings.SITE_URL,
              "FROIDE_DRYRUN": settings.FROIDE_DRYRUN,
-             "FROIDE_DRYRUN_DOMAIN": settings.FROIDE_DRYRUN_DOMAIN}
+             "FROIDE_DRYRUN_DOMAIN": settings.FROIDE_DRYRUN_DOMAIN,
+             "LANGUAGE_CODE": settings.LANGUAGE_CODE}
  
Add Froide Dry Run Domain and Language Code to context_processor
## Code Before:
from django.conf import settings

def froide(request):
    return {"froide": settings.FROIDE_CONFIG}

def site_settings(request):
    return {"SITE_NAME": settings.SITE_NAME,
            "SITE_URL": settings.SITE_URL,
            "FROIDE_DRYRUN": settings.FROIDE_DRYRUN,
            "FROIDE_DRYRUN_DOMAIN": settings.FROIDE_DRYRUN_DOMAIN}

## Instruction:
Add Froide Dry Run Domain and Language Code to context_processor
## Code After:
from django.conf import settings

def froide(request):
    return {"froide": settings.FROIDE_CONFIG}

def site_settings(request):
    return {"SITE_NAME": settings.SITE_NAME,
            "SITE_URL": settings.SITE_URL,
            "FROIDE_DRYRUN": settings.FROIDE_DRYRUN,
            "FROIDE_DRYRUN_DOMAIN": settings.FROIDE_DRYRUN_DOMAIN,
            "LANGUAGE_CODE": settings.LANGUAGE_CODE}
