Internationalize WordPress plugins and themes.
WordPress has a robust suite of tools to help internationalize plugins and themes. This plugin brings the power of those existing tools to Grunt in order to make it easy for you to automate the i18n process and make your projects more accessible to an international audience.
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-wp-i18n --save-dev
grunt.loadNpmTasks( 'grunt-wp-i18n' );
- This plugin requires Grunt
- PHP CLI must be in your system path.
This plugin consists of two configurable tasks: