Added functionality for setting custom messages into current translator.