Joomla v1.5 plugin sys.ini language file

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-02 04:46:56

问题


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:


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



来源:https://stackoverflow.com/questions/11146890/joomla-v1-5-plugin-sys-ini-language-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!