<NME> v1.js
<BEF> var gutil = require( 'gulp-util' );
var through  = require( 'through2' );
var path = require( 'path' );
var prefs = require( './prefs.json' );

module.exports = function () {
  var transform = function( file, enc, callback ) {
    var content = file.contents.toString();
    var res = JSON.parse( content );

    var postal_codes = {};
    for ( var i = 0; i < res.length; i++ ) {
      var line = res[i];

    for ( var i = 0; i < res.length; i++ ) {
      var line = res[i];
      var data = {
        zipcode: line[0].toString(),
        prefcode: prefs[line[1]],
        prefecture: line[1],
        address1: line[2].replace( '　', '' ),
        address2: line[3].replace( /（.*/, '' ).replace( '　', '' ),
      };

      var file = new gutil.File( {
          address3: line.en.addr3,
          address4: line.en.addr4
        }
      };

      if ( postal_codes[line.postal_code] ) {
        postal_codes[line.postal_code].data.push( data );
      } else {
        postal_codes[line.postal_code] = {
          code: line.postal_code,
          data: [data]
        };
      }
    }

    for ( var p in postal_codes ) {
      var file = new gutil.File( {
        cwd: __dirname,
        path: path.join( __dirname, p.replace( /^([0-9]{3}).*/, '$1' ),
                  p.replace( /.*([0-9]{4})$/, '$1' ) + '.json' ),
        contents: new Buffer( JSON.stringify( postal_codes[p] ) + "\n" )
      } );

      this.push( file );
    }

    return callback();
  };

  return through.obj( transform );
};

<MSG> add langs

<DFF> @@ -15,11 +15,18 @@ module.exports = function () {
     for ( var i = 0; i < res.length; i++ ) {
       var line = res[i];
       var data = {
-        zipcode: line[0].toString(),
+        zipcode: line[0].toString().trim(),
         prefcode: prefs[line[1]],
-        prefecture: line[1],
-        address1: line[2].replace( '　', '' ),
-        address2: line[3].replace( /（.*/, '' ).replace( '　', '' ),
+        ja: {
+          prefecture: line[1].trim(),
+          address1: line[2].replace( '　', '' ).trim(),
+          address2: line[3].replace( /（.*/, '' ).replace( '　', '' ).trim()
+        },
+        en: {
+          prefecture: line[4].trim(),
+          address1: line[5].trim(),
+          address2: line[6].replace( / \(.*/, '' ).trim()
+        }
       };
 
       var file = new gutil.File( {

add langs