[wp-polyglots] Trying to translate a plugin
Stefano
steagl at people.it
Tue Feb 28 12:23:57 GMT 2006
Il Tue, 28 Feb 2006 12:14:28 +0100, Karl Wångstedt
<kalle at wangstedt.net> scrive:
>28 feb 2006 kl. 10.21 skrev Stefano:
>
>> load_plugin_textdomain('wpcf',$path =
>> 'wp-content/plugins/wp-contact-form');
>
>That did the trick! Thanks a bunch. But how come that's not clarified
>in the codex? Or isn't the $path variable required all the time?
Is required only if the plugin is inside a subdir of the plugins
directory. ANd on this page it's explained:
http://codex.wordpress.org/Writing_a_Plugin
even if not much clear.
--
Stefano Aglietti - StallonIt on IRCnet - ICQ#: 2078431
Email: steve at 40annibuttati.it steagl at people.it
Sites: http://www.40annibuttati.it (personal blog)
http://www.wordpress-it.it (WordPress Italia)
More information about the wp-polyglots
mailing list