[wp-polyglots] Re: Creating a POT file for my WP plugin?
Christian Barmala
christian.barmala at gmx.net
Fri May 5 17:58:59 GMT 2006
Viper007Bond wrote on 23.02.2006 10:02:
> How would I go about creating a translation template file for my plugin
> on my Windows system? I've already __() & _e()'ed all of my texts
xgettext --keyword=__ --keyword=_e --default-domain=<your_plugin> \
--language=php <your_plugin>.php --output=<your_plugin>.pot
cp <your_plugin>.pot <your_plugin-<your_language>.po
msgfmt -o <your_plugin-<your_language>.mo \
<your_plugin-<your_language>.po
Christian
More information about the wp-polyglots
mailing list