【发布时间】:2013-08-21 06:44:59
【问题描述】:
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3locallang>
<meta type="array">
<type>database</type>
<description>Language labels for extension 'dagou_user'</description>
</meta>
<data type="array">
<languageKey index="default" type="array">
<!-- Email -->
<label index="email_notify_employer_body"><![CDATA[A new Employer has signed up!<br /><br />Account Name: ###USERNAME###<br />Email: ###EMAIL###<br />Full Name: ###NAME###<br />Company Name: ###COMPANY###<br />Location: ###CITY### ###STATE###, ###ZIP###]]></label>
<label index="email_notify_employer_subject">New Employer</label>
...
</languageKey>
</data>
</T3locallang>
以上代码取自locallang_dagouuser.xml,同时我正在阅读这篇文档:http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/7/2/
问题:
对于
type="array",我可以为type分配任何其他值吗?比如type="string"...<type>database</type>,文档里写的是"database" : Used for labels of database tables and fields.,这是什么意思?如何将这些标签与数据库表和字段一起使用?
【问题讨论】:
标签: typo3