https://github.com/creativelive/rind-i18n-gulp
gulp task for rind i18n
https://github.com/creativelive/rind-i18n-gulp
Last synced: 2 months ago
JSON representation
gulp task for rind i18n
- Host: GitHub
- URL: https://github.com/creativelive/rind-i18n-gulp
- Owner: creativelive
- License: mit
- Created: 2014-05-24T01:10:22.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-03T01:11:03.000Z (about 12 years ago)
- Last Synced: 2025-06-04T23:09:26.771Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 206 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rind-i18n-gulp [](https://travis-ci.org/creativelive/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)();
});
```