Translating the word All

Home Forums Calendar Products Events Calendar PRO Translating the word All

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1191784
    Awaken Solutions
    Participant

    I am using the events calendar pro on a French wordpress website.

    When viewing an event, the link in the top-left link says:

    « All Évènements

    The word “All” should be replaced with “Tous les”

    How would I go about making this correction?

    Thanks

    #1192265
    Geoff B.
    Member

    Bonsoir Gregory,

    Merci de nous écrire.
    Il me fera plaisir de vous aider avec cet irritant.

    Pourriez-vous me dire si vous utilisez fr_FR ou fr_CA ?
    Il est bien possible que votre fichier de langue ne soit tout simplement pas à jour (ce qui arrive parfois lorsque nous publions une nouvelle version de nos plug-ins).

    Pour corriger le tout:

    1. Le plus simple est de télécharger la toute dernière version de vos fichiers de langues ici: http://translations.theeventscalendar.com/projects , puis de remplacer les fichiers en place dans le répertoire /lang/ de nos plug-ins.
    2. Une autre méthode consiste à ouvrir vos fichiers po/mo avec le logiciel Poedit (gratuit et téléchargeable). Choisissez alors Catalog > Update from POT file . Cela mettre à jour vos fichiers de langues et devrait corriger la situation.

    Par ailleurs, vous pouvez personnaliser vos traductions si vous le souhaitez ou “protéger” vos fichiers de langues pour éviter qu’ils ne soient écrasés par les mises à jour de plug-ins.

    Il vous suffit de glisser vos fichiers de langues dans /wp-content/languages/plugins/

    Salutations,

    Geoff B.

    #1195089
    Awaken Solutions
    Participant

    I have updated the lang files but it still doesn’t work.

    I am already customizing the file “single-event.php” for other reasons, so I have therefore manually replaced this:

    <?php printf( ‘« ‘ . esc_html_x( ‘All %s’, ‘%s Events plural label’, ‘the-events-calendar’ ), $events_label_plural ); ?>

    With this

    <?php printf( ‘« ‘ . esc_html_x( ‘Tous les %s’, ‘%s Events plural label’, ‘the-events-calendar’ ), $events_label_plural ); ?>

    This solved my problem, but not the root of the issue (the translated string).

    Thanks.

    #1195402
    Geoff B.
    Member

    Good morning Gregory,

    I am stoked that you found a solution that works for you.

    Changing the hardcoded string will work.
    Just make sure you are using a /tribe-events/ folder to save your customization so that you do not lose them when you upgrade.

    You might want to read our Themer’s guide to get a sense of how that works.

    You are welcome back in our support forums any time 🙂

    For now, I am going to close this thread.

    Have a great week!

    Geoff B.

    #1213571
    Geoff B.
    Member

    Good evening Gregory and happy new year,

    Another one of our customers wanted to relay his suggestion here: https://theeventscalendar.com/support/forums/topic/french-translation-of-all-bug/

    I would recommend reading my answer too 🙂

    While I am on this topic, the latest version of our plugin’s language files should work great as far as the “See all” link translation is concerned.

    Best regards,

    Geoff B.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Translating the word All’ is closed to new replies.