Language Based Installation Description

As you all know, once you have installed the extension in the Joomla backend, a description will be shown. You can either have a simple description from XML, or have a language based on it. I have never had problems with language descriptions before, but this time I do it. The extension is an admin component and does not have an interface folder and is intended for Joomla 2.5.

When I install the component, the description is displayed as COM_PROJECTS_DESC

The language folder and files are in the right place, and the XML is displayed as

<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="2.5.0" method="upgrade">
    <name>Projects</name>
    <author>JoomJunk</author>
    <creationDate>15th Jul 2012</creationDate>
    <copyright>Copyright (C) 2012 JoomJunk</copyright>
    <license>http://www.gnu.org/licenses/gpl-3.0.html</license>
    <authorEmail>admin@joomjunk.co.uk</authorEmail>
    <authorUrl>http://www.joomjunk.co.uk</authorUrl>
    <version>1.0.0</version>
    <description>COM_PROJECTS_DESC</description>

<administration>
    <menu img="components/com_projects/assets/images/cpanel_16.png">COM_PROJECT_TO_DO</menu>
    <files folder="admin">
        <filename>index.html</filename>
        <filename>controller.php</filename>
        <filename>helper.php</filename>
        <filename>projects.php</filename>
        <folder>views</folder>
        <folder>tables</folder>
        <folder>models</folder>
        <folder>controllers</folder>
        <folder>assets</folder>
    </files>
    <languages folder="admin">
            <language tag="en-GB">languages/en-GB/en-GB.com_projects.ini</language>
            <language tag="en-GB">languages/en-GB/en-GB.com_projects.sys.ini</language>
    </languages>
</administration>
</extension>

It's a fuzzy thing, the description does not work during installation for the first time, but if I install a component (update) on it, it will work.

, , -, , , . - .

.

+5

All Articles