fixed stuff with translation in wsgi