Joomla v1.5 plugin sys.ini language file

2019-02-27 03:50发布

Is it possible to use sys.ini language file for Joomla v1.5 plugin? I want to use it during plugin install. Because default language ini file is not accessible during installation process. So install manager outputs only language key constants like PLG_MY_PLUGIN_DESCRIPTION. I haven't found any hint about it in Joomla v1.5 developer manuals. So I guess sys.ini files work only with components?

Your help would be appreciated.

1条回答
虎瘦雄心在
2楼-- · 2019-02-27 04:43

Joomla 1.5 does not read .sys.ini language files. Only Joomla 1.6 and above do. If you turn on the debug tool (Site>>Global Congiguration>>System) then it will show you if the language file is being loaded.

A few other things to check:

  1. The description in the XML matches the one in the language file.
  2. Each line at the beginning of the language file for the description area starts with a hash tag # rather than ;
  3. The XML points to the language file in the correct location.

If you have checked all of these then please post some code for the .XML and .INI files.

Regards

查看更多
登录 后发表回答