Language report plugin
This plugin requires Grunt
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install lang-rep
Will check language files and compare them to a 'master' language outputting the keys that do not have a translations in the non-master files
grunt langRep -<options>
Separates the output files of the langRep task into separate files, where each file is a different language #### -zip Like the separate option but also then zips the separate files into a zip file
langRep:lang:files:expand: truecwd: 'client/assets/strings'dest: 'tmpDir/'src: '**/str.coffee'langs: 'en''fr''es''it''pt''ru''te''zh'master: 'en'
used for checking a directory for keys of an object, to see if they are in use
verify:verf:master: 'client/assets/strings/en/str.coffee'include:'client/**/*.coffee''client/**/*.html'exclude:'client/assets/**''client/config/**''client/vendor/** '
imports new translations (csv/coffee) and combines with an existing string file
grunt import -<options>
silences all warning #### -f forced past non-existant string error, for creating files even if an perceived error occurred
import:imp:master: 'en'# files to be imported csv and coffee are supportedtrans: './Translations/*'langs: 'de''es''fr''it''hi''nl''pt''ru''te''tr''zh'# delimiter used for csv-parse default: ','csvDelim: '\t'# existing string files to combine with imported filesfiles:expand: truecwd: './strings'src: '**/str.coffee'dest: './tmpDir/'