i18n-calypso CLI for extracting translation files from JS sources
npm install i18n-calypso-cliScans your JavaScript sources/build files and generates a POT file or a PHP translation file which can be understood by the GlotPress plugin.
npm install i18n-calypso-cli
- npm install -g i18n-calypso-cli
- i18n-calypso -i
``js`
var i18nCalypso = require( 'i18n-calypso-cli' );
i18nCalypso( {
inputPaths:
output:
format:
projectName:
} );
See more examples of usage in test/index.js`
GlotPress.js is licensed under GNU General Public License v2 (or later).