Jump to content

Recommended Posts

Posted

You can add language terms to the config file, but I don't think the description can yet be a language definition. Some modules already do this.

i have tested before requesting this , but is not showing anything ....

i think i have included the language file after the json file .. i will reodrer them and try again

Posted

Yes, you need to include the language file before the config file.

 

Don't attempt to use PHP in the JSON file--just set the string:

{
    "version": "1.0.0",
    "name": "MyPlugin.name",
    "description": "A plugin like no other!",
    "authors": [
        {
            "name": "Phillips Data, Inc.",
            "url": "http://www.blesta.com"
        }
    ]
}

Your language file:

<?php
$lang['MyPlugin.name'] = "My Plugin's Name";
?>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...