while I was completing the italian translation for the localized scripts found a small bug in wp-fullcalendar.php, around line 124:
//extra WP FUllCalendar translations here please: $wp_fullcalendar_languages = array( 'es' => array('buttonText' => array('today'=>'hoy','month'=>'mes','week'=>'semana','day'=>'dia')), 'pt' => array('buttonText' => array('today'=>'hoje','month'=>'mes','week'=>'semana','day'=>'dia')), 'fr' => array('buttonText' => array('today'=>'aujourd\'hui','month'=>'mois','week'=>'semane','day'=>'jour')), 'it' => array('buttonText' => array('today'=>'oggi','month'=>'mese','week'=>'settimana','day'=>'giorno')) ); $calendar_languages = array_merge_recursive($calendar_languages, $wp_fullcalendar_languages);
I’ve added an italian translation for the buttons, but please also notice the last line, in the original code a simple “array_merge” is used instead of “array_merge_recursive”, where the latter is needed to merge the bi-dimensional arrays.
Thanks for the great upgrades! I’ll send you .mo .po files with an accurate and complete italian translation, I promise!
- The topic ‘italian translation small JS scripts localization bug (solved)’ is closed to new replies.