This Wsgi middleware, takes the browser language from urls similiar to "/es/documents" or from the Accept language header. Also can activate the gettext locale.