如何正确使用joomla中的语言文件 [英] How to properly use the language files in joomla

查看:96
本文介绍了如何正确使用joomla中的语言文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我能想到的谷歌,我发现了类似的东西:

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>

从这里开始一些问题:

  1. 我可以不带标签使用它吗,并以某种方式指定使用默认系统语言
  2. whatever.iniwhatever.sys.ini
  3. 有什么区别
  4. 我还有其他要写入xml的东西吗?还是那4行代码可以上传并运行语言?
  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. tag="en-GB"是必需的.
  2. .ini包含所有翻译,包括在模块或插件管理器中打开扩展时的扩展说明....sys.ini用于在安装时定义扩展的描述.
  3. 您在XML中提供的代码很好;)
  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 ;)

这篇关于如何正确使用joomla中的语言文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆