How to translate Ticket Page

Home Forums Ticket Products Event Tickets Plus How to translate Ticket Page

  • This topic has 6 replies, 2 voices, and was last updated 7 years ago by Blazej.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1257870
    Blazej
    Participant

    Hi,

    We use Loco Translate to translate your plugins to Polish. We have successfully translated most of the plugin Ticket Plus however we cannot find where or how to translate My Tickets Page. Screenshot included.

    The page appears after I click View Your tickets in a particular event in which I had bought some tickets.

    Cheers

    #1257971
    Victor
    Keymaster

    Hi Blazej!

    Thanks for reaching out to us! 🙂

    To translate the “My Tickets” page to Polish, you should find and use the event-tickets-plus-pl_PL file. You can find this file in yoursite/wp-content/plugins/event-tickets-plus/lang/event-tickets-plus-pl_PL or you can download it from here > http://translations.theeventscalendar.com/projects/event-tickets-plus/pl/default

    If you need to know the exact strings you want to translate in that page, then you could see the orders-tickets.php template file located at yoursite/wp-content/plugins/event-tickets-plus/src/views/tickets-plus/orders-tickets.php

    For example, in line 29 you’ll see this string to translate >

    esc_html__( 'My Tickets for This %s', 'event-tickets-plus' )

    You’ll be able to translate that string in event-tickets-plus-pl_PL line 205

    There is a great article on Translating the Premium plugins here > https://theeventscalendar.com/knowledgebase/adding-or-updating-a-translation/

    I hope that helps. Let me know if any other questions and I’ll be happy to help.

    Best!

    Victor

    #1257992
    Blazej
    Participant

    Hi Victor!

    Thank you very much.

    Could you also help me writing where I can translate underlined strings? 🙂

    #1258018
    Blazej
    Participant

    I’m attaching the file again.
    Also in the url: http://imgur.com/a/CdqYq

    #1258064
    Victor
    Keymaster

    Hey Blazej!

    Having this as a reference > https://cloudup.com/ice_IOLjrIn

    Ref 1 and 4: Search for these strings “View %s” and “Update %s” in the translation file for the Event Tickets plugin here yoursite/wp-content/plugins/event-tickets/lang/event-tickets-pl_PL.po

    Ref 2 and 3: Search for these strings “Order #%1$s: %2$s reserved by %3$s (%4$s) on %5$s” and “Attendee %d” in the translation file for the Event Tickets Plus plugin here > yoursite/wp-content/plugins/event-tickets-plus/lang/event-tickets-plus-pl_PL.po

    Let me know if that helps.

    Cheers!

    Victor

    #1269540
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How to translate Ticket Page’ is closed to new replies.