[TYPO3-ect] locallang_db.xml not translated by lib/div
Michael Knoll
mimi at kaktusteam.de
Mon Sep 24 11:52:00 CEST 2007
Michael Knoll wrote:
> Elmar Hinz wrote:
>> Michael Knoll wrote:
>>
>>> Hi list,
>>>
>>> I have a translation problem with lib/div. I have the following string,
>>> which I would like to translate:
>>>
>>>
>> LLL:EXT:mklv_community/locallang_db.xml:tx_mklvcommunity_privacy_setting.privacy_flag.I.0
>>
>>
>>
>> Maybe it's this bug.
>> http://bugs.typo3.org/view.php?id=6082
>>
>> It's mainwhile fixed in SVN versions, open in TER.
>>
>>
>>
>>
>>
>>
>> Regards
>>
>> Elmar
>>
>>
>
>
> Looks like there are even more bugs
>
> Fatal error: Class 'tx_lib_spl_arrayIterator' not found in
> /var/www/localhost/svn/subida/typo3conf/ext/lib/class.tx_lib_object.php
> on line 67
> Call Stack
>
> Also happens after updating to new version of lib
>
> Regards
>
> Mimi
>
I fixed that with the following require_once in class.tx_lib_object.php
- but I think, that's not the way to go:
function tx_lib_objectBase($parameter1 = null, $parameter2 = null) {
require_once('spl/class.tx_lib_spl_arrayIterator.php');
...
}
I also had to use one in class.tx_lib_spl_arrayIterator.php:
require_once('class.tx_lib_spl_arrayObject.php');
class tx_lib_spl_arrayIterator extends tx_lib_spl_arrayObject { ...
Is there a better solution or a bugfix for this problem?
Regards
Mimi
More information about the TYPO3-team-extension-coordination
mailing list