[TYPO3-dev] error with turkish language

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Tue Nov 27 14:04:55 CET 2007


Steffen Kamper schrieb:
> "Martin Kutschker" <Martin.Kutschker at n0spam-blackbox.net> schrieb im 
> Newsbeitrag 
> news:mailman.1.1196166191.20767.typo3-dev at lists.netfielders.de...
>> Steffen Kamper schrieb:
>>> I found the reason for the Problem, but it's definitive frustrating.
>>>
>>> It's a PHP-Bug with turkish locale: No static method works where a 
>>> capitol I is in the name of the function.
>>> I renamed setUrlIdToken and got following error:
>>> Fatal error: Call to undefined method t3lib_DB::exec_INSERTquery() in 
>>> /var/www/web1/html/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2587
>> And so on...
>>
>> But say, do you really need the locale? If you don't use strftime() or 
>> case modifictions (in TS) etc you can use the standard C locale.
>>
>> Masi
> 
> Hi Masi,
> 
> I need locale e.g. for cal to have the right names for months, days etc.
> And remember the bug in indexed_search? Ok, maybe without locale it will 
> work.

There is a workaround if you can set those names via stdWrap. Create a 
userfunc that switches from C to turkish, calls strftime and switches back 
to C.

Masi




More information about the TYPO3-dev mailing list