I have developed a system plugin for joomla and have some problems with different languages files.
I show immediately my situation for make easy the support:
in my_plugin.xml
Code: Select all
<description>PLG_LR_ISTRUCTIONS</description>
Code: Select all
<languages>
<language tag="en-GB">./languages/en-GB.plg_system_my_plugin.sys.ini</language>
<language tag="en-GB">./languages/en-GB.plg_system_my_plugin.ini</language>
</languages>
Code: Select all
PLG_LR_ISTRUCTIONS="Thank you for installing my plugin. You will find the instructions for setting up in the plugin screen."
Code: Select all
PLG_LR_ISTRUCTIONS="This are the instructions...."
- At the first installation of my plugin, joomla doesn't show the thank you message after installation, but only "PLG_LR_ISTRUCTIONS". At the second installation of the same package instead (an update without uninstall first), joomla is able to retrieve the translation and show correctly "Thank you for installing ..."
- When i open the plugin page i see the thank you message and not the instructions
In one question: how can i show correctly two different messages for installation and plugin instructions?
Thank you