Issue Bug Closed

#64575Add custom csh doesnt work via addLLrefForTCAdescr

André Wuttig 01/29/15, 10:56 updated 05/20/18, 11:48

Description

  • we add a new field type to the TCA of powermail field model
  • we also want to add new csh for some fields
  • so we try this command:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
    'tx_powermail_domain_model_fields',
    'EXT:px_powermail/Resources/Private/Language/locallang_csh_tx_powermail_domain_model_fields.xlf'
);
  • This didnt work and i dont know how!?
  • But if we add this to ext_localconf.php it works fine:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:powermail/Resources/Private/Language/locallang_csh_tx_powermail_domain_model_fields.xlf'][] = 'EXT:px_powermail/Resources/Private/Language/locallang_csh_tx_powermail_domain_model_fields.xlf';

Is it not possible to add mutliple language files for “TCA_DESCR”???

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.