ensure output in utf-8
make it possible to set messages after creating a translation object