code: function (msg, options) {
          var format = options.poFormat || '';
          if (msg.comments && msg.comments.flag) {
              format = msg.comments.flag;
          }
          var msgid = msg.msgid;
          var msgstr = msg.msgstr[0];
  
          var icuId = '';
          var icuStr = '';
         
          if (format.match(/python-format/g) !== null) {
              icuId = this.pythonToICU(msgid);
              icuStr = this.pythonToICU(msgstr);
          }
          else if (format.match(/c-format/g) !== null) {
              icuId = this.pythonToICU(msgid);
              icuStr = this.pythonToICU(msgstr);
          } else {
              icuId = msgid;
              icuStr = msgstr;
          }
          
          var icuObject = {'icuId': icuId, 'icuStr': icuStr};
          return icuObject;
      }
docs: /*
  Takes as input a msg object, as returned by the gettext-parser module.
  It contains a msgid, msgstr, and comments.
  
  Input language format is searched for first within the flag comment of the
  msg chunk, then, in the absence of a flag, within any options passed to
  the method.