Support » Plugin: WP FullCalendar » italian translation small JS scripts localization bug (solved)

  • Resolved htrex


    Hi Marcus,
    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • found another bug in the italian translation, row 122 of wp-fullcalendar.php should be


    the day names must always start with sunday (domenica) to show a correct calendar, a string in the original code was misplaced resulting in a wrong day number <-> day name correspondance

    Plugin Author Marcus


    NetWebLogic Support

    thanks, will correct/add this for next update, assuming resolved

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘italian translation small JS scripts localization bug (solved)’ is closed to new replies.