Support » Plugin: Event Tickets » Translate Event Tickets

  • I want translate Event Tickets text: “Get Tickets” and “Don’t show me on public attendee lists”.

    I can’t do it with Loco Translate, any suggestion?


    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter cwpv



    Please something to translate this?

    Hi @cwpv!

    Did you update the .po/ and .mo language files with Loco Translate? (using the “Sync” button).

    If that doesn’t work, you may translate those strings thanks to the method described in this documentation (cf the code snippet at the bottom of the page):

    Let us know how it goes!


    Thread Starter cwpv


    I have write this function and not work…

    function tribe_custom_theme_text ( $translation, $text, $domain ) {

    $custom_text = array(
    ‘Quantity’ => ‘Plazas’,
    ‘Get Tickets’ => ‘Reservar’,

    if( (strpos($domain, ‘tribe-‘) === 0 || strpos($domain, ‘the-events-‘) === 0 || strpos($domain, ‘event-‘) === 0) && array_key_exists($translation, $custom_text) ) {
    $translation = $custom_text[$translation];
    return $translation;
    add_filter(‘gettext’, ‘tribe_custom_theme_text’, 20, 3);

    Thread Starter cwpv



Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Translate Event Tickets’ is closed to new replies.