Skip to content

Instantly share code, notes, and snippets.

View neonics's full-sized avatar

Kenney Westerhof neonics

View GitHub Profile
@neonics
neonics / Gruntfile.js
Last active August 29, 2015 14:04
Wordpress i18n Grunt: create .pot, update .po, generate .mo
module.exports = function(grunt) {
require('load-grunt-tasks')(grunt);
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
wpi18nkeywords: [
'__:1',
'_e:1',