[TYPO3-mvc] Extbase / Flexform and language file for labels
Basti Baumann
donillo at gmail.com
Wed Jul 19 16:03:35 CEST 2017
Hello everybody,
I´m updating an old extension and created the files with the extension builder.
After inserting the flexform file for the backend configuration of the plugin there are no labels (no text).
Example:
<hideMail>
<TCEforms>
<label>LLL:EXT:sb_partner/Resources/Private/Language/locallang.xlf:tx_sbpartner_domain_model_partner.hidemail</label>
<config>
<type>select</type>
<items type="array">
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:sb_partner/Resources/Private/Language/locallang.xlf:tx_sbpartner_domain_model_category.clicksno</numIndex>
<numIndex index="1">0</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">LLL:EXT:sb_partner/Resources/Private/Language/locallang.xlf:tx_sbpartner_domain_model_category.clicksyes</numIndex>
<numIndex index="1">1</numIndex>
</numIndex>
</items>
<maxitems>1</maxitems>
<size>1</size>
</config>
</TCEforms>
</hideMail>
The label is set in the languagefile:
<trans-unit id="tx_sbpartner_domain_model_partner.longdescription">
<source>Longdescription</source>
</trans-unit>
<trans-unit id="tx_sbpartner_domain_model_partner.hidemail">
<source>Hide email</source>
</trans-unit>
The label hidemail is a new one (not created with extension builder) and will not bis displayed. If I use for example the label longdescription it will be displayed.
I don´t understand why... any ideas?
Kind regards
Basti
More information about the TYPO3-project-typo3v4mvc
mailing list