Forums / Cotonti / Development / Language files in Ajax mode missing

ez
#1 2010-03-02 06:59
Hi,

When I am calling a plugin in ajax mode, I am missing my plugin language files.
I have the general language items, but NOT the plugin language files... :(

Example : plug.php?r=myplug&a=bla

I am building screens in ajax mode, so I want to use tags like {PHP.L.myplug_tag} in the TPL..

can anyone help..

Is this a possible bug ???
==- I say: Keep it EZ -==
Dayver
#2 2010-03-02 08:00
You must in your php file with ajax hook include lang file
require_once(sed_langfile('myplug'));
Pavlo Tkachenko aka Dayver
ez
#3 2010-03-02 15:34
Thnx Dayver,
I will load it manually
==- I say: Keep it EZ -==