[wp-hackers] Plugin metadata internationalization
nb at nikolay.bg
Tue Feb 3 20:00:42 GMT 2009
On Tue, Feb 3, 2009 at 19:08, Jennifer Hodgdon <yahgrp at poplarware.com> wrote:
> Could someone send me a quick summary of the right way to internationalize
> plugin header information, so that WP will recognize it, so that I can
> update the section of http://codex.wordpress.org/Writing_a_Plugin to contain
> this information?
Two simple things:
1. Add Text Domain: header to the main plugin file. For example:
Plugin Name: Templates for Posts
Text Domain: templates-for-posts
2. Generate a POT file, which contains the metadata. Here are two ways to do it:
Also, can you link in the appropriate place of Writing_a_Plugin to:
We should probably merge them and let one of them link to the other.
More information about the wp-hackers