North Pittsburgh Meatpackers
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

rind-i18n-gulp

0.1.1 • Public • Published

rind-i18n-gulp

Gulp tasks to create rind i18n clientside files

usage

'use strict';

var gulp = require('gulp');
var i18n = require('rind-i18n-gulp');

var opts = {
  sets: {
    'foo.js': ['foo/main.json']
  },
  locales: [ 'en-US', 'fr-fr' ],
  output: 'path/to/lang/files',
  input: 'output/directory',
  verbode: true // list files as they are compiled
};

gulp.task('i18n', function() {
  i18n(gulp, gwd, opts)();
});

Keywords

none

install

npm i rind-i18n-gulp

Downloadsweekly downloads

15

version

0.1.1

license

MIT

last publish

collaborators

  • avatar