[Typo3-dev] Using _LOCAL_LANG to override text from sr_feuser_register/locallang_db.php

Franz Holzinger franz at fholzinger.com
Wed Dec 7 15:28:55 CET 2005


Hello,

I want to overwrite the TCA field texts from the file 
sr_feuser_register/locallang_db.php in TypoScript setup. This is needed 
because the EDIT command uses them to display the texts before the fields.
I want to change the default texts for the subjects:

'fe_users.module_sys_dmail_category.I.1' => 'Subject 1',
'fe_users.module_sys_dmail_category.I.2' => 'Subject 2',
'fe_users.module_sys_dmail_category.I.3' => 'Subject 3',
'fe_users.module_sys_dmail_category.I.4' => 'Subject 4',
'fe_users.module_sys_dmail_category.I.5' => 'Subject 5',
'fe_users.module_sys_dmail_category.I.6' => 'Subject 6',
'fe_users.module_sys_dmail_category.I.7' => 'Subject 7',
'fe_users.module_sys_dmail_category.I.8' => 'Subject 8',
'fe_users.module_sys_dmail_category.I.9' => 'Subject 9',
'fe_users.module_sys_dmail_category.I.10' => 'Subject 10',


However this seems not to be supported by the function 
$GLOBALS['TSFE']->sL($string); which is used to read the language texts.
And $this->pi_getLL($string); does not do this job, because I cannot add 
the locallang_db.php to the frontend plugin.

Any hints how to make this possible are welcome.


Franz




More information about the TYPO3-dev mailing list