Fixes Issue #317: Check output with Entity Translation enabled.

I think language should be injected rather then using the global one