Use MsgId class instead of String for i18n