Topic: How to display a translated format for the date ?
Hi,
I've choose as 'Date format' the following options : j-F-Y is working perfectly in english --> 23-January-2005
But in french it displayed --> 23-January-2005 too instead of 23-Janvier-2005
I've checked the setlocale in punbb\lang\French\common.php it seems correct.
// Determine what locale to use
switch (PHP_OS)
{
case 'WINNT':
case 'WIN32':
$locale = 'french';
break;
case 'FreeBSD':
case 'NetBSD':
case 'OpenBSD':
$locale = 'fr_FR.ISO8859-1';
break;
default:
$locale = 'fr_FR';
break;
}
// Attempt to set the locale
setlocale(LC_CTYPE, $locale);
How can I manage to got the whiched format ?
Thanks