[TYPO3-project-seminars] changes made by plugin.tx_seminars._LOCAL_LANG.default.label_status.I.x will be ignored in emails

Alexander Grein ag at mediaessenz.eu
Fri Jul 31 14:22:38 CEST 2009


Hi Oliver,

Oliver Klee schrieb:
> Hi Alexander,
> 
> Alexander Grein schrieb:
>> I changed the language label values from the status field by doing this
>> in my TS setup:
>>
>> plugin.tx_seminars._LOCAL_LANG.default {
>>   label_status = Need insurance?
>>   label_status.I.1 = yes
>>   label_status.I.2 = no
>> }
> 
> The problem here is that the keys contains dots (.) that are also used
> to separate levels in TS. Could you test whether escaping the dots with
> a backslash (\.) works?
> 
> (I haven't tested this - this is just a guess.)
> 
> 
> Oliver

Sorry, but escaping this way do not the job.

I found this in class.tx_seminars_registration.php (line 434):

case 'status':
	if ($rawData) {
		$result = $this->translate('label_status.I.'.$rawData);
		break;
	}

But i can't find the translate function to get deeper into this problem ...


Alexander


More information about the TYPO3-project-seminars mailing list