3.0 translate filter

Implements the suggestion in #4652
Missing space before `?`. The sniffs don't seem to catch this :(