0.0.2 • Published 11 years ago

grunt-i18nfp v0.0.2

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

grunt-i18nfp

Grunt task for i18nfp

Getting Started

This plugin requires Grunt 0.4.1

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-i18nfp --save-dev

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

grunt.loadNpmTasks('grunt-i18nfp');

The "i18nfp" task

Overview

In your project's Gruntfile, add a section named i18nfp to the data object passed into grunt.initConfig().

grunt.initConfig({
  i18nfp: {
    compile: {
      src:'./properties',
      target: './i18n'
    }
  },
})

src

Type: String

A string value that is required to point to the folder where the properties files locate

target

Type: String Default value: './output'

A string value that is used to specify where to put the generated javascript resource bundles