Actions

Talk

Creating a profile plugin

From Joomla! Documentation

Revision as of 08:17, 28 December 2010 by Jcasal (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Jcasal 13:17, 28 December 2010 (UTC)

The examples uses the language model for I18N of the plugin, but does not show how this elements are added to the plugin the language directories.

Looking at profile5.xml it indicates that the language files are to be found in:

        <languages>
                <language tag="en-GB">en-GB.plg_user_profile.ini</language>
                <language tag="en-GB">en-GB.plg_user_profile.sys.ini</language>
        </languages>

But these are the language files for the User:Profile plugin. So basically, the language translations would need to be done on another plugin's language files?

Should this tutorial show the plugin containing its own language files? For example:

        <languages>
                <language tag="en-GB">en-GB.plg_user_profile5.ini</language>
                <language tag="en-GB">en-GB.plg_user_profile5.sys.ini</language>
        </languages>

and examples of how thee files would look like...