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:

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

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:

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

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