Problem with french translation of terms

Home Forums Additional Help Translations Problem with french translation of terms

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1009562
    Jean-Pierre Trésegnie
    Guest

    I want to translate the title ” event category” in ” category of the event ” in the detailed view of an event.
    Here is an example : http://www.debrouillart.be/lesimprobables/event/spectacle-dimpro-cite-miroir/
    I expected to find this title in the language file ( the- event- calendar- fr_FR.php ) but it is not there .
    I checked in all php files and I found nothing .
    Could you help me resolve this issue?
    Thanks.
    Jean-Pierre

    #1009580
    George
    Participant

    I’m sorry to hear about these troubles on your site, Jean-Pierre!

    This could happen because your translation files for The Events Calendar and its premium add-ons are out-of-date, which might be the case with your site.

    To test if this is the case, I’d recommend making sure you have updated translation files for The Events Calendar, check this article out for how to do that:

    Translating The Events Calendar

    To learn how to get updated translation files for any of our Premium plugins instead, check this article out:
    https://theeventscalendar.com/knowledgebase/adding-or-updating-a-translation/

    Using the articles above, make sure that your translation files for The Events Calendar and for any premium Tribe add-on (Events Calendar Pro, Community Events, etc.) are all up to date, and then let us know if issues persist.

    Cheers!
    George

    #1009650
    Jean-Pierre Trésegnie
    Guest

    Hello George,

    Thanks for your help !
    I updated the .po and .mo files for the French language.
    Very strange way, it did not change anything for my translation.
    The term ” événément category” is still present (with an error because , in French, the word ‘ événément ‘ is written ‘ événement ‘).
    I wanted to correct that mistake myself in the .po file, but I can not find the term ” événément category” ) !
    What is this mystery? 🙂
    Jean Pierre

    #1010089
    George
    Participant

    Hey Jean,

    Did you do that for just The Events Calendar, or for premium add-ons, too?

    If possible, can you link directly to where your .po and .mo files are from? If there is something missing because of a code problem on our end, I will log it as a bug and we will fix it in an upcoming release.

    Thank you!
    George

    #1011369
    Fabien Burg
    Guest

    Hi jean-Pierre,

    Finally, how did you resolve this ?
    Cause I’ve got the same problem, see here :
    https://drive.google.com/file/d/0BxrvJnA9Me_KalVIQV9sREpqSWc/view?usp=sharing

    URL : http://www.villecomtal.fr/evenement/boeuf-musical-avec-les-violons-de-lautomne/

    Thanxs !

    #1011370
    Fabien Burg
    Guest

    Hi jean-Pierre,

    Finally, how did you resolve this ?
    Cause I’ve got the same problem, see here :
    https://drive.google.com/file/d/0BxrvJnA9Me_KalVIQV9sREpqSWc/view?usp=sharing

    URL : http://www.villecomtal.fr/evenement/boeuf-musical-avec-les-violons-de-lautomne/

    Thanxs !

    #1011829
    George
    Participant

    Hey Fabien!

    I’m not Jean, of course, but wanted to chime in anyways to get you a speedier response – Jean claims to have updated the .po and .mo plugin files (“I updated the .po and .mo files for the French language”).

    Changing the .po and .mo files is, unfortunately, pretty much the only way to get around the issues that Jean originally reported here.

    What are your specific issues, Fabien? Also, are you familiar with .po and .mo files and how to edit them in general? We can’t offer much help with general things like this, but we do have to some Knowledgebase articles that you might find helpful. They cover the translations processes for our plugins and how to set up translations on your site:

    Translating The Events Calendar: http://theeventscalendar.com/knowledgebase/translating-the-events-calendar/

     Translating our premium add-ons: https://theeventscalendar.com/knowledgebase/adding-or-updating-a-translation/

    Changing the language on your site: https://theeventscalendar.com/knowledgebase/changing-the-language-on-your-calendar/

    Just sharing these articles in case you haven’t seen them yet – I hope they’re helpful! 🙂

    Cheers,
    George

    #1016459
    Mike DeVers
    Guest

    Quick and easy (but not the best !) solution for french translation :

    Using codestyling localiztion plugin or poedit strings exist, but translation doesn’t find the string ‘Event Category’ or ‘Event Categories’

    Change the line ‘label’ in the file wp-content/plugins/the-events-calendar/src/views/modules/meta/details.php.
    ___________________________________
    <?php
    echo tribe_get_event_categories(
    get_the_id(), array(
    ‘before’ => ”,
    ‘sep’ => ‘, ‘,
    ‘after’ => ”,
    ‘label’ => ‘Catégorie(s)’,
    //’label’ => null, // An appropriate plural/singular label will be provided
    ‘label_before’ => ‘<dt>’,
    ‘label_after’ => ‘</dt>’,
    ‘wrap_before’ => ‘<dd class=”tribe-events-event-categories”>’,
    ‘wrap_after’ => ‘</dd>’,
    )
    );
    ?>
    _______________________________

    #1016666
    George
    Participant

    Thank you for sharing Mike!

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Problem with french translation of terms’ is closed to new replies.