• Stars
    star
    160
  • Rank 234,030 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 10 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Internationalize WordPress themes and plugins with Grunt.

grunt-wp-i18n Build Status

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're not familiar with i18n concepts, read the Internationalization entries in the Plugin Developer Handbook or Theme Developer Handbook.

Getting Started

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

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

grunt.loadNpmTasks( 'grunt-wp-i18n' );

Requirements

  • This plugin requires Grunt ^1.0.0.
  • PHP CLI must be in your system path.

Tasks

This plugin consists of two configurable tasks:

More Repositories

1

satispress

Expose installed WordPress plugins and themes as Composer packages.
PHP
503
star
2

gravity-forms-iframe

A Gravity Forms add-on to embed a form in an auto-resizing iframe on external sites.
PHP
150
star
3

woocommerce-coupon-links

A WordPress plugin to automatically apply WooCommerce coupon codes to the cart via a URL.
PHP
133
star
4

wprestcop

Manage access to the WP REST API with rate limits and IP-based rules.
PHP
70
star
5

shiny-code

A Gutenberg block for editing and displaying code with syntax highlighting.
JavaScript
51
star
6

node-wp-i18n

Internationalize WordPress themes and plugins.
PHP
45
star
7

cpt-archives

A WordPress plugin to manage post type archive titles, descriptions, and permalink slugs from the dashboard.
PHP
44
star
8

infinite-wp-list-tables

A WordPress plugin to add infinite scroll support for WP List Tables in the admin panel.
PHP
40
star
9

wp-plugin

A library to help structure and bootstrap WordPress plugins.
PHP
40
star
10

grunt-wp-css

Format style sheets according to the WordPress CSS coding standards.
JavaScript
35
star
11

simple-image-widget

A simple WordPress image widget.
PHP
32
star
12

plugin-toggle

A WordPress plugin to quickly toggle plugin activation status from the toolbar.
PHP
30
star
13

dequeue-jquery-migrate

A WordPress plugin to remove the jquery-migrate.js script dependency.
PHP
27
star
14

structure

Examples demonstrating methods for structuring WordPress plugins.
25
star
15

wp-address-block

A Gutenberg block for displaying an address with Schema.org markup.
JavaScript
21
star
16

better-internal-link-search

A WordPress plugin to improve the internal link popup functionality with time saving enhancements and features.
PHP
14
star
17

skip-link-focus

Make "skip to content" links more accessible.
JavaScript
12
star
18

ansible-deploy

An Ansible playbook for deploying a WordPress site from a git repository.
PHP
12
star
19

wp-nav-menus

Accessible, mobile-friendly navigation menus in WordPress themes.
JavaScript
12
star
20

simple-page-sidebars

A WordPress plugin for assigning custom sidebars to individual pages.
PHP
9
star
21

esformatter-wordpress

Format JavaScript according to the WordPress Coding Standards.
JavaScript
9
star
22

wp-theme-config

Shared configuration for our WordPress themes at Cedaro.
JavaScript
8
star
23

metamedia

A WordPress plugin to register media selection meta boxes.
PHP
8
star
24

youtube-embed-parameters

A WordPress plugin to customize parameters for embedded Youtube players.
PHP
7
star
25

microsite-themes

A WordPress plugin to load custom themes based on the URL.
PHP
7
star
26

themicons

Them icons.
HTML
7
star
27

footer-credits

A WordPress plugin for making theme footer credits editable.
PHP
6
star
28

customizer-customizer

A WordPress plugin to allow selected panels and sections to be hidden in the Customizer.
PHP
6
star
29

wavethumb

An experimental plugin demonstrating how to generate and save waveforms for audio attachments using the WordPress REST API.
JavaScript
6
star
30

load-project-config

JavaScript
3
star
31

embed-jetpack-custom-css

A WordPress plugin to embed Jetpack Custom CSS in the document head to improve performance.
PHP
2
star
32

extract-selectors

Extract and group selectors from a style sheet by property or value.
JavaScript
1
star
33

example-website

An example WordPress site managed with Composer.
PHP
1
star