[pmwiki-users] translating cookbook

Petko Yotov 5ko at 5ko.fr
Fri Jul 11 16:40:19 CDT 2014


First to try is place the $XL[] definitions before the include() line.

Or even better, delete these lines from config.php and define the strings in  
your PmWiki.XLPage page or in PmWiki.XLPageCookbook.

If that doesn't work, what XLPage() calls do you have in config.php?

Petko



jdd writes:
> I have a problem translating strings for the emailform cookbook.
>
> instructions are here:
> http://www.pmwiki.org/wiki/Cookbook/EMailForm
>
> in my config.php file, I wrote:
>
> $EnableEMailFormSecurity = true;
> include_once("$FarmD/cookbook/emailform.php");
> (...)
> $EnableEMailFormUTF8 = false;
>
> $XL['fr']['Your address:'] = 'Votre adresse:';
> $XL['fr']['Subject:'] = 'Objet:';




More information about the pmwiki-users mailing list