• Resolved navis30

    (@navis30)


    Hi !

    I use the events calendar plugin in the french version and some words still are in english in the list view :
    – Previous events
    – Next events
    – iCal Import Listed Events
    – Google Calendar
    – iCal Import

    How can I translate them ?

    I’ve checked in the PO file and they’re missing…

    https://wordpress.org/plugins/the-events-calendar/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor leahkoerper

    (@leahkoerper)

    Hi navis30,

    The reason you are seeing so many words in English, and not seeing the corresponding strings in the .po file, is because the .po file itself is outdated. To be able to translate, you’ll need to update it with the latest .pot file as described in our Getting Started post. Once you’ve done that, you should see the strings you need.

    Our upcoming version (3.7) also fixes some issues with the Google and iCal related strings, so you’ll want to update again after 3.7 is release.

    I’d love to have you update the translations for both The Events Calendar and Events Calendar PRO. We’d even give you a free license for PRO in exchange! If you are interested, check out the Getting Started post where you’ll find the instructions and files you need.

    Best,
    Leah

    Thread Starter navis30

    (@navis30)

    Hi Leah !

    I’ve read your post and your getting started post as well.

    So I’ve downloaded the last .pot file but the strings I need don’t appear. Example : “+ iCal Import Listed Events”.

    No problem for sharing my translations with you once it will be done, but I’d like to have all my strings in the file before. Can you tell me if new strings will be added in the 3.7 versions ? Or how can I add them into the .pot or .po file ?

    Thanks a lot !
    Best regards,
    Navis

    Plugin Contributor leahkoerper

    (@leahkoerper)

    Hi Navis,

    We added those strings in version 3.7. You can find the latest .pot file in the Getting Started post. Follow the directions in step #6 of that post to update the French .po files. Then you should be all set 🙂 Thank you so much for working on this!

    Best,
    Leah

    Thread Starter navis30

    (@navis30)

    Hi Leah,
    I’ve downloaded the file the-events-calendar.zip (https://cloudup.com/cnvq76x3Vkp) but, when I update my PO file with the POT file, the strings I mentioned don’t appear…

    – Previous events
    – Next events
    – iCal Import Listed Events
    – Google Calendar
    – iCal Import

    Plugin Contributor leahkoerper

    (@leahkoerper)

    Hi navis30,

    I updated the French .po files for you so that the strings are showing. You can download those files from here. If you post in our Translation forum, I can also give you the PRO files so you can translate those.

    – Previous events – ID 823
    – Next events – ID 824
    – iCal Import Listed Events – This was replaced in 3.7 by multiple strings including ID 420, 452-455.
    – Google Calendar – ID 449, 448
    – iCal Import – ID 451

    Best,
    Leah

    I’m sorry to jump in, the pot file maybe correct, but the translation doesn’t work because of some errors in the source.

    First to @navis30:
    i checked the fr_FR files and they are OK, but could you see on your side if you use an old custom version of nav.php in your theme ? This file has changed, and the next and previous strings are formatted differently now. The « and » are now in a span. I get first the same error, and remembered after a while that i used a custom nav.php.

    To the plugin devs now
    if you could avoid to insert html makups into translated strings, it would be more easy for gettext to work. And WP best practices would be respected too.

    You also modified many little details and forgot to write some of them correctly.

    On the admin settings page, i found several errors, specially in the-events-calendar.class.php
    1510: wrong
    <td style="width:170px"><?php _e( 'Use Saved '. $this->singular_venue_label . ':','tribe-events-calendar' ); ?></td>
    Replace by
    <td style=”width:170px”><?php printf(__( ‘Use Saved %s:’,’tribe-events-calendar’), $this->singular_venue_label ); ?></td>

    1574: ambiguate. The select box contains a list of venues or organizers, so using new applies to the first option only, not to the rest.
    echo '<option value="0">' . __( 'Use New ' . $this->singular_venue_label , 'tribe-events-calendar' ) . '</option>';
    Suggest to replace with:
    echo '<option value="0">' . sprintf(__( 'or add new %s','tribe-events-calendar'), $this->singular_venue_label) . '</option>';

    1631: same as 1574
    echo '<option value="0">' . sprintf(__( 'Use New %s','tribe-events-calendar'), $this->singular_organizer_label) . '</option>';

    Suggest to replace with
    echo '<option value="0">' . sprintf(__( 'or add new %s','tribe-events-calendar'), $this->singular_organizer_label) . '</option>';

    1650: is this good english No saved %s exists ? Sorry to ask: i’m french, and guess it’s not saved

    A propos Settings, could the currency check be outside of the CPT ? it’s probably not necessary to set the currency position on each new event ? This can be on the general setting tab.

    In tribe-the-events-calendar-import.class.php:64
    As the plugin is on 3.7 now, is it serious to begin an error msg by saying Welcome to Events 2.0! […]. Should be changed a little or deprecated, no ? This is of course in the pot file since 2.0…

    And last but not least:
    – iCal Import Listed Events – This was replaced in 3.7 by multiple strings including ID 420, 452-455.

    OOP is geeky, but despite, try to stay simple. Thank you ! 😉

    Plugin Contributor leahkoerper

    (@leahkoerper)

    Hi danbp,

    Thanks for that list. We will be doing some testing on the translations before 3.8 and I will be sure to include you suggestions.

    Best,
    Leah

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘French translated words are missing’ is closed to new replies.