tt_news

Ext: tt_news – no translation for name of months

Wednesday, July 15th, 2009 | Typo3 | No Comments

Typo3-Extension: tt_news – non translated month names

If you stumble across this problem, maybe you haven’t installed the right locale on your linux computer.  Open a new shell and type

This prints out all available locales. Refer to your OS manual on how to install additional locales.
Try this php script for testing locales (taken from php manual setlocale)

<?php
/* Set locale to Dutch */
setlocale(LC_ALL, 'nl_NL');

/* Output: vrijdag 22 december 1978 */
echo strftime("%A %e %B %Y", mktime(0, 0, 0, 12, 22, 1978));

/* try different possible locale names for german as of PHP 4.3.0 */
$loc_de = setlocale(LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
echo
"Preferred locale for german on this system is '$loc_de'";
?>

Tags: , , , , ,

About Dennis D. Spreen

I'm an avid programmer working on a variety of platforms in a variety of languages with a wide technical interest.

Search

QR Code

Categories