Skip to content

Replaces long descriptive translation variables of angular-translate with shortcodes.

Notifications You must be signed in to change notification settings

stomt/gulp-translatify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-translatify

Replaces long descriptive translation variables of angular-translate with shortcodes.

Usage

var translatify = require('gulp-translatify');

var translationFiles = [
  'app/files/lang-de.js',
  'app/files/lang-en.js'
];

gulp.task('translatify', function() {
  return gulp.src([
    'dist/scripts.js',
  ])
    .pipe(translatify(translationFiles))
    .pipe(gulp.dest('dist'));
});

About

Replaces long descriptive translation variables of angular-translate with shortcodes.

Resources

Stars

Watchers

Forks

Packages

No packages published