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

查看:17
本文介绍了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. 我还有其他东西要写到 xml 或那 4 行上传和运行语言

推荐答案

  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天全站免登陆