How to properly use the language files in joomla

十年热恋 提交于 2019-12-24 01:25:59

问题


As far as i could dig in thought google, i found something like:

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

From here some question:

  1. Can i use it without tag and somehow specify to use with the default system language
  2. What is the difference between whatever.ini and whatever.sys.ini
  3. Do I have something else to write to xml or those 4 lines uploads and runs languages

回答1:


  1. The tag="en-GB" is required.
  2. .ini contains ALL the translations including the description for an extension when it it opened up in the Module or plugin Manager....sys.ini is used to define the description of the extension upon installation.
  3. The code you provided in the XML is fine ;)


来源:https://stackoverflow.com/questions/12821179/how-to-properly-use-the-language-files-in-joomla

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