This topic was marked solved by Pandos, on February 13th, 2014, 04:05 PM


  • Posts: 343
« on January 29th, 2014, 08:43 PM »
I have a mysterious problem. loadPluginLanguage fails whether everything is right. And i dont know why :D
Plugin id CerealGuy:Bietemaker
loadPluginLanguage('CerealGuy:Bietemaker', 'langBietemaker'); //works
loadPluginLanguage('CerealGuy:Bietemaker', 'Bietemaker'); //does not work, x.english.php of course renamed.

I dont know if its the same problem with loadPluginTemplate but im pretty sure it is.
Error which is throwed: Undefined index: contact_us
Its Contactpage a little bit modified just to understand how the template stuff works :whistle:
But till now only Project name and stuff is renamed ^^ Thanks to Arantor for the plugin its all his work :lol:

Here we go:
(and another bug, cant upload .tar.gz, it says .gz is not allowed ^^)

 Bietemaker.rar - 5.89 kB, downloaded 49 times.


  • Dadman with a boy
  • Posts: 16,063
Re: loadPlugin
« Reply #1, on January 29th, 2014, 10:14 PM »
You should ask Arantor then... I'm sure he'll be oh-so-happy to delve into his Wedge code again... :niark:

Seriously, I'm aware that loadPluginLanguage is a little... rusty, but I tried updating it some time ago. Maybe I broke it, I don't know. I don't think so. I'd have noticed..?!

What's your language(s) when you get the error? Default or not?


  • Posts: 343
Re: loadPlugin
« Reply #2, on January 31st, 2014, 12:24 AM »
I dont know what you mean with "What's your language" but i solved the problem. New folder structure (src/lang...) and it seems to be bether ^^ I keep my eyes open and look whether i can reproduce the error again :)