• Resolved uponity

    (@uponity)


    Hi,

    I’m experiencing an issue with the translation of the word “Free” (as in “the tickets for this event are free”) in The Events Calendar plugin. Even though the translation files correctly show the word “Free” translated to “Kostenlos” (in German), the plugin still displays “Free” in English on the event details page and the upcoming events page.

    Specifically, this issue appears in the fields with the CSS classes?tribe-events-cost?and?tribe-events-c-small-cta__price.

    My Setup

    • The Events Calendar version: 6.10.1.1
    • Loco Translate version: 2.7.1

    What I Tried

    1. I opened the translation files in Loco Translate and synced all files to ensure the translations are up to date.
    2. I verified that “Free” is correctly translated to “Kostenlos” in the German translation file.

    Issue Persisting After Updates

    Thank you in advance for your help!

    Best regards,
    Danny

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support tristan083

    (@tristan083)

    Hi @uponity ,

    Thank you for reaching out.

    Could you please confirm that you are not using the Event Tickets plugin on your site by providing me with the following versions?

    1. PHP
    2. WordPress
    3. The Events Calendar
    4. Event Tickets (if using)
    5. Theme and Version
    Plugin Support Darian

    (@d0153)

    Hi there,

    It seems like it has been some time since we received a response from you, therefore, I will consider this matter as resolved. If you require any further assistance, please do not hesitate to start a new thread.

    Thread Starter uponity

    (@uponity)

    Hello, the problem still exists.

    i don’t use the Event Tickets Plugin.

    1. PHP Version: 8.3.17
    2. WordPress Version: 6.7.2
    3. The Events Calendar: 6.10.1.1
    4. Event Tickets: Not in use
    5. Theme: Divi: 4.27.4

    Thread Starter uponity

    (@uponity)

    Do you have any news for me?

    Plugin Support Darian

    (@d0153)

    Hi @uponity

    Thank you for patiently waiting.

    Could you try adding the following code snippet, and see if it works on your end?

    add_filter( 'gettext_tribe-common', function ( $translation, $text, $domain ) {
    $tec_translation = translate( $text, 'the-events-calendar' );

    if ( $tec_translation !== $text ) {
    return $tec_translation;
    }
    return $translation;
    }, 10, 3 );

    If you’re not familiar with coding, you can use the Code Snippets plugin, which removes the need to add custom snippets to your theme’s functions.php file.

    I hope that helps, and let me know if you have further concerns.

    Thread Starter uponity

    (@uponity)

    Yes, it works ??

    Plugin Support tristan083

    (@tristan083)

    Hi @uponity ,

    Thank you for your message and we’re glad to hear that worked!

    I’ll be closing this thread for now, but please do not hesitate to bump a new thread on our way if you have further questions/concerns. This is for us to track down topics/issues efficiently and for us to adhere to the WordPress Forum Guidelines.

    If you have some time to review, that would be amazing!
    https://www.ads-software.com/support/plugin/the-events-calendar/reviews/

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.