0.1.6 • Published 10 years ago

grunt-i18next-extract-gettext v0.1.6

Weekly downloads
1
License
-
Repository
github
Last release
10 years ago

grunt-i18next-extract-gettext

extracting a gettext POT file from multiple JS source files using i18next

Getting Started

This plugin requires Grunt ~0.4.5

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 grunt-i18next-extract-gettext --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-i18next-extract-gettext');

The "i18next_extract_gettext" task

Usage Examples

In this example, the default options are used to do something with whatever.

grunt.initConfig({
  i18next_extract_gettext: {
    default_options: {
      files: {
        'dest/template.pot': ['src/file.html', 'src/file.js'],
      },
    },
  },
});

Release History

03.11.16 First work version

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago