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.
-
AuthorPosts
-
March 22, 2017 at 12:36 am #1257870BlazejParticipant
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
March 22, 2017 at 6:42 am #1257971VictorKeymasterHi 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
March 22, 2017 at 7:04 am #1257992BlazejParticipantHi Victor!
Thank you very much.
Could you also help me writing where I can translate underlined strings? 🙂
March 22, 2017 at 7:29 am #1258018BlazejParticipantI’m attaching the file again.
Also in the url: http://imgur.com/a/CdqYqMarch 22, 2017 at 8:56 am #1258064VictorKeymasterHey 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
April 13, 2017 at 9:35 am #1269540Support DroidKeymasterHey 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 -
AuthorPosts
- The topic ‘How to translate Ticket Page’ is closed to new replies.