问题
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:
- Can i use it without tag and somehow specify to use with the default system language
- What is the difference between whatever.iniandwhatever.sys.ini
- Do I have something else to write to xml or those 4 lines uploads and runs languages
回答1:
- The tag="en-GB"is required.
- .inicontains ALL the translations including the description for an extension when it it opened up in the Module or plugin Manager....- sys.iniis used to define the description of the extension upon installation.
- The code you provided in the XML is fine ;)
来源:https://stackoverflow.com/questions/12821179/how-to-properly-use-the-language-files-in-joomla