How to use a lang file in my plugin?
#2
This is simple:
function myportfolio_info() {
   global $lang;
   $lang->load('myportfolio');
    return array(
        'name' => 'MyPortfolio',
        'description' => $lang->description,
);
[MyBB 1.8 mods] - Offer me a coffee
Do not ask me help through PM or Discord
Reply


Messages In This Thread
How to use a lang file in my plugin? - by Lektz - 2015-05-09, 03:02 PM
RE: How to use a lang file in my plugin? - by Crazycat - 2015-05-09, 03:52 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)