Complete sample code
adapt_output works for any trapped messages, not only processed.
More translations