Wedge
Public area => Bug reports => The Pub => Archived fixes => Topic started by: CerealGuy 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 ^^)
-
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?
-
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 :)