Project

General

Profile

Actions

Bug #18478

closed

Workariound for PHP-Bug with Locale tr_TR

Added by Alexander Maringer about 16 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-03-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Since 2005 php causes problems with the locale tr_TR (http://bugs.php.net/bug.php?id=35050). In Typo3 it is not posible to set the locale_all to tr_TR, because of the "I"-php bug.
I defined as locale_all only tr, but this causes problems in some extensions, bebause the date is not rendered right (tt_news).
I would propose to define for LC_MONETARY and LC_TIME the correct locale (tr_TR), if tr is set as locale_all. Then the date rendering is correct.

config.locale_all = tr_TR

extensions: realurl, tt_news

plugin.tt_news.displayList.date_stdWrap.strftime= %A %d. %B %Y

crashes;
config.locale_all = tr

doesn't crash

Got errors on:
Call to undefined method tslib_fe::setUrlIdToken() in /path-to-typo3_src/typo3_src-4.2/typo3/sysext/cms/tslib/index_ts.php on line 432
PHP Fatal error: Class 'tx_ccdebug_ErrorIterator' not found in /path-to-hp/typo3conf/ext/cc_debug/class.tx_ccdebug.php on line 323
(issue imported from #M7901)


Files

class.tslib_fe.php.patch (998 Bytes) class.tslib_fe.php.patch Administrator Admin, 2008-03-19 06:53
bug_7901_locale_tr_workaround.diff (699 Bytes) bug_7901_locale_tr_workaround.diff Administrator Admin, 2008-11-28 10:19

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #76804: Deprecate GeneralUtility::strtoupper & strtolowerClosedGeorg Ringer2016-06-27

Actions
Actions

Also available in: Atom PDF