i18n: Add message output format

As requested by @siebrand
Follow up to I78ca8c2b93f0612d2a4f29e69ec0b61cda80a2bb

Change-Id: I61df0e75e5553907a94948651e86893843061870
Merge "i18n: Add message output format"