Filter: add 'trans' command

Closes #964.