Home › Forums › Ticket Products › Event Tickets Plus › Translation of date on ticket, time range
- This topic has 5 replies, 2 voices, and was last updated 8 years, 8 months ago by
Luc.
-
AuthorPosts
-
July 28, 2017 at 10:26 am #1327568
Luc
ParticipantHi there,
I have 3 issues with the attached ticket –1) All the text is in German but the date uses the English word “December” is there a way to translate it?
2) Is there a way to put the time range of the event on the ticket – the event is from 15:00 to 21:00- not it only states 15:00
3) I have to modify the card-number:
Can I edit the first part “TW2512-” in the card number and have a fixed (random) number there instead – the client wants to hide number of tickets sold.Thank you very much
July 31, 2017 at 11:57 am #1328440Victor
MemberHello Luc!
Thanks for getting in touch with us!
Let me help you with each topic:
All the text is in German but the date uses the English word “December” is there a way to translate it?
This could be due to a translation string missing. Try going to the WordPress Dashboard > Updates and click “Check again”. Then see if there are any translation updates available for your plugins. If updating the translation files doesn’t work, then please let us know where you are seeing the ‘December’ string that is not being translated. You can send us a screenshot of it.
Is there a way to put the time range of the event on the ticket – the event is from 15:00 to 21:00- not it only states 15:00
Sure! You could make a template override of the tickets.php template file located at /wp-content/plugins/event-tickets/src/views/tickets/. We have a great article that will let you know how to achieve this here > https://theeventscalendar.com/knowledgebase/themers-guide/.
You can use the following modified template that will add the event end date next to the start date:
https://gist.github.com/vicskf/f240538754b7fe8f4462d2d5e3eb201c
Can I edit the first part “TW2512-” in the card number and have a fixed (random) number there instead – the client wants to hide number of tickets sold.
Yes, also by modifying the same tickets template, you could remove the ticket id from showing in the ticket email.
I hope that helps! Let me know if you have other questions and I’d be happy to help! 🙂
Best,
VictorAugust 2, 2017 at 12:03 am #1329295Luc
ParticipantHi Victor,
thanks for your help – regarding our topics1) I cannot find an update of translations – the missing string you will see in the attached screenshot above – it is the word “December” on the ticket.
2) thanks for the help on this – I will try it out
3) I can clearly see where I can remove the ID from the ticket email – the problem is the client wants to modify –
not remove – the ID itself. Right now the ID is the abbrevation of the name of the event plus an increasing number. Client does not want to show how many tickets are sold (secret, :)) and I would like to add a static random number before that increasing number (i.e) 16504511 (“165045” being the random number part, “11” being the changing counting up part)Have a nice day
August 2, 2017 at 12:23 pm #1329666Victor
MemberHi Luc!
The “December” translation string comes from the WordPress core translation files. From you system settings I can see that your site language is set to “de_DE_formal” so you should check if you have the de_DE_formal.po translation file by going to /wp-content/languages/
I tried it myself by switching my site’s language to Deutsch (Sie) and I can confirm the December string gets translated to ‘Dezember’. Let me know how that goes.
Regarding the Ticket number, we have this code snippet that will let you set the initial ticket number:
https://gist.github.com/cliffordp/91223c67e30e648257e47e50349d81f4#file-functions-php
You should place that code in your theme’s functions.php file. Will that work for you?
Let me know how that goes.
Best,
VictorAugust 24, 2017 at 9:35 am #1339826Support Droid
KeymasterHey 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 ‘Translation of date on ticket, time range’ is closed to new replies.
