[wp-hackers] Plugin i18n
wp-hackers at striderweb.com
Mon Feb 9 18:06:24 GMT 2009
That codex page need some updating, since PLUGINDIR is outdated.
Since WP 2.6 it's better to use WP_PLUGIN_DIR instead. The textdomain
function was changed to accommodate.
On Feb 9, 2009, at 11:19 AM, Nikolay Bachiyski wrote:
> Most plugin developers store their translations in the plugin folder
> (see the Codex article below). If they become too many, you can move
> them into a subdirectory of your plugin one, e.g. languages.
> In order to test, set WP_LANG to the basename of the MO file you've
> got and this should be enough.
More information about the wp-hackers