2015-05-09, 03:02 PM
Hello
I'm creating my first plugin, so I have noob questions
I want to add something like
Just to put an example, I know that it is not finished and that $description is not going to work.
So, I'd like to create a file called myportfolio.lang.php and add it to my english language folder, and then how could I load a variable from there? like $l['description'] = 'This should be the plugin description';
I hope you guys understand me
Thanks for your time
I'm creating my first plugin, so I have noob questions

I want to add something like
function myportfolio_info() {
return array(
'name' => 'MyPortfolio',
'description' => '$description',
);
Just to put an example, I know that it is not finished and that $description is not going to work.
So, I'd like to create a file called myportfolio.lang.php and add it to my english language folder, and then how could I load a variable from there? like $l['description'] = 'This should be the plugin description';
I hope you guys understand me

Thanks for your time