Translation months in the Events module?

How to translate the names of months in the calendar Events module?

I translated all the files containing the names of months (about 7! - Why?). Probably in this calendar, names of months are generated directly by PHP. How do they translate?

Quote · 12 Feb 2010

Hi

Did you find the answer ?

Quote · 16 Apr 2010

I think you will need find all date function and procces it. for example ;

$sDate = date('Y-m-d');

$aM alt= array('January', ......);

foreach($aMonth  as $iKey => $sMonth) {
if( strstr($sDate , $sMonth) ) {

$sDate = str_replace($sMonth, _t('_'.$sMonth),  $sDate);

break;

}

}

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 16 Apr 2010

 

Hi

Did you find the answer ?

Yes. At the beginning of the file /inc/classes/BxDolCalendar.php I added:

@setlocale(LC_TIME, 'pl_PL.UTF-8');

for the Polish language.

Quote · 18 Aug 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.