WordPress.org

Ready to get started?Download WordPress

Forums

Simple Events Calendar
Translation (French) (4 posts)

  1. VirtualCed
    Member
    Posted 3 years ago #

    Is there a .mo file for French Language ?
    If not I can do it if I have the .po file in English.

    KR
    cEd

    http://wordpress.org/extend/plugins/simple-events-calendar/

  2. Jerry G. Rietveld
    Member
    Plugin Author

    Posted 3 years ago #

    Hi VirtualCed,

    There is no French translation yet. I've just added the latest .pot file for the plugin so if you want to translate the plugin into French (which is FANTASTIC!!) please download the plugin http://downloads.wordpress.org/plugin/simple-events-calendar.1.2.3.zip and use that .POT file.

    When you have it ready, please send me a message through this contact form.

    Thanks for your help!

    Jerry

  3. VirtualCed
    Member
    Posted 3 years ago #

    The file is translated and tested on my wordpress site :)

    It's available here : http://www.athus.be/wp-content/plugins/simple-events-calendar/simple-events-calendar-fr_FR.po

    I'm missing following strings (in the pot file)

    -The month of the year for the dropdown menu in admin panel
    -"There are no events to display" (will be translated by "Aucun événement à afficher"

    I have already add them in the .po file. But on line 797 of your script, you don't use the __ to define this string. And quickly reading the code, I don't see where you create the list of months.

    and I have a little problem when displaying the date.
    In French, June 23 will become 23 Juin

    Best regards
    Cedric

  4. VirtualCed
    Member
    Posted 3 years ago #

    For the missing sentence, you juste have to replace line 797 by

    if(count($the_events) > 0) $items = implode($the_events); else $items = __("There are no events to display",SE_TEXTDOMAIN);

    and for the month, replace every

    date('F', mktime(0,0,0, $i ))

    by

    __(date('F', mktime(0,0,0, $i )),SE_TEXTDOMAIN)

    The only problem will be the format of the date to be ok in French.
    Should be done via .po file too...

    And added two other missing string. No label and Event link.

    Almost sure it's ok now. Take a copy of my files at :

    http://www.athus.be/wp-content/plugins/simple-events-calendar/simple-events-calendar.phps
    http://www.athus.be/wp-content/plugins/simple-events-calendar/simple-events-calendar-fr_FR.po
    Just to correct : the date problem and you can propose a version 1.2.4 ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic