handle proxied lang obj in local
fix translations for wsgi
Merge branch 'wsgi-trans' into wsgi

Fix translations for wsgi (boot translations do not work yet)