Hi Joomla! developers.
Currently I'm developing, respectively upgrading my first J1.5 system plugin, adding multi language support. Unfortunately the languages are not loaded at the back end's plugin interface and I only can see the LANGUAGE_PLACEHOLDERS I definded at the plugin's manifest file.
Here are the steps I was going through:
1. Created the folder "language" at the plugin's root directory and stored the (?:en-GB|de-DE|da-DK).plg_system_myplugin.ini
2. Created an entry at the manifest file as follows.
3. Placed the language placeholders for description and params as shown below.
<param name="core" type="radio" default="0" label="CORE_LABEL" description="CORE_DESCRIPTION">
4. Created a package and installed it.
The languages are installed correctly and after installation they can be found under ~/administrator/language/de-DE/.....
For testing purposes I used the following code at my ~/plugins/system/plg_system_myplugin.php
in order to check if the language strings are set properly.
$lang =& JFactory::getLanguage();
I can see that the JLanguage instance contains:
$lang->_paths['plg_system_debug'] => Array
[/path/to/joomla/administrator/language/de-DE/de-DE.plg_system_myplugin.ini] => 1
But Joomla! does not initialize the language INIs at runtime. With my modules this works very well, and I have a functioning multi language support there, but not with the plugin. The funny thing on this is, that the placeholders ENABLE and DISABLE are replaced correctly due to their existence in one of the core INIs.
System is: Joomla! 1.5.8 (tested on 1.5.7 also)
Could please nudge me someone to the right direction? I can't see the wood for the trees right now.
Thank you very much in advance.