Skip to content

andrewi-wd/grunt-lokalise

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-lokalise

Grunt plugin for i18n service lokali.se

Getting Started

Grunt-lokalise provides a command line interface to sync your i18n files with http://lokali.se

Install it:

npm install grunt-lokalise --save-dev

Add a line to your Grunfile:

grunt.loadNpmTasks('grunt-lokalise');

The "lokalise" task

Overview

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

grunt.initConfig({
  lokalise: {
    all: {
      apiToken: 'YOUR API TOKEN HERE',
      projectId: 'YOUR PROJECT ID AT LOKALI.SE',
      dir: 'translations'
    }
  }
});

Usage Examples

At your project directory type grunt lokalise.

About

Grunt plugin for localization service lokalise.me

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%