[wp-polyglots] Trying to translate a plugin
Ryan Duff
ryan at ryanduff.net
Tue Feb 28 16:36:38 GMT 2006
Stefano wrote:
> 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.
>
Ooops, how did I miss this thread? I wasn't even aware there was an
issue. I'll update this today accordingly.
--
Ryan Duff
http://ryanduff.net
AIM: ryancduff
irc.freenode.net #wordpress
More information about the wp-polyglots
mailing list