Skip to content
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.

Latest commit

 

History

History
21 lines (15 loc) · 500 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 500 Bytes

gulp-missing-translations

checks provided files with and compares them to translation files to find missing translations

Install

$ npm install --save-dev gulp-missing-translations

Usage

var gulp = require('gulp');
var missingTranslations = require('gulp-missing-translations');

gulp.task('translations', function() {
  return gulp.src(['app/scripts/**/*.js', 'app/views/**/*.html'])
    .pipe(missingTranslations({ translationsSrc: 'app/translations/*.json' }));
});