Page 1 of 1

plugins not defining language files

Posted: Sun Jun 26, 2005 8:36 am
by CapriSkye
i see some bundled plugins are not reading their langauge files.
here are the plugins missing this at the top,

Code: Select all

// Probe for a language include with constants. Still include defines later on, if some constants were missing
$probelang = dirname(__FILE__) . '/lang_' . $serendipity['lang'] . '.inc.php';
if (file_exists($probelang)) {
    include $probelang;
}
serendipity_event_mailer
serendipity_event_xhtmlcleanup
serendipity_event_searchhighlight
serendipity_event_livesearch
serendipity_event_trackexits

@garvin, if you want i'll be willing to update the plugins, if adding the code above is all i need to do.
and is "Export blog as PDF" plugins and some others bundled with s9y? they are showing up in my installation but i don't see them in svn. i probably installed them via Spartacus but just curious cus i don't remember.

Re: plugins not defining language files

Posted: Sun Jun 26, 2005 5:36 pm
by garvinhicking
Thanks a lot, I fixed those plugins!

The BlogPDF plugin has been moved to additional_plugins repository since 0.9, as it was only seldomly used.

Regards,
Garvin

Posted: Sun Jul 03, 2005 7:56 am
by CapriSkye
thanks garvin
there are some additional plugins not reading the language files also
for example the mailentry plugin.
can i update those plugins in cvs? again if adding above code is all i needed to do.
i probably won't check every plugins, only the ones that i'm using.
thanks

Posted: Sun Jul 03, 2005 11:52 am
by garvinhicking
Yes, you can update those plugins in CVS, adding the simple code at the top of the file is absolutely sufficient.

Thanks a lot for all your translating effort. I really appreciate this!

Regards,
Garvin