[Typo3] TT_News Comments ext - days display in German

Rupert Germann rupi at gmx.li
Thu Jul 21 10:14:42 CEST 2005

Marlies C wrote:
> We seem to have run into a curious problem with the news_comments
> extension. It works great, but for some crazy reason the Day displays in
> German and everything else in English. Here is the page:

the reason are these lines in class.tx_ednewscomments_pi1.php (line 450)

case "tstamp":
case "crdate":
        setlocale(LC_TIME, de_DE);
        return strftime("%A, %d.%m.%Y %R", $this->internal["currentRow"][$fN]);

if "setlocale(LC_TIME, de_DE);" is hardcoded in the script you'll have NO
chance to get dates in more than on language. 
=> a broken cigar for this extension 

I recommend using ve_guestbook or chcnewscon as tt_news commenting system.


More information about the TYPO3-english mailing list