Home › Forums › Calendar Products › Events Calendar PRO › Translation extra field header
- This topic has 6 replies, 2 voices, and was last updated 11 years, 4 months ago by
Geoff.
-
AuthorPosts
-
December 8, 2014 at 6:43 am #911680
Ad vd Linden
ParticipantIk have two extra fields but the header is still in english (other)
I like to translate it
Also Ik like to change event time in closing time Where can I do this?December 8, 2014 at 12:06 pm #912159Geoff
MemberHi there winterlinde! Thanks for getting in touch. đŸ™‚
Great questions. let’s see if we can tackle them one at a time.
Ik have two extra fields but the header is still in english (other)
The best way to translate the “Other” heading is to override the additional-fields.php template. To do this:
- Create a copy of the template. It’s located at /plugins/events-calendar-pro/views/pro/meta/additional-fields.php.
- Create a new folder in your theme directory called tribe-events
- Create a new folder in there called pro
- Create a new folder in there called modules
- Create one last folder inside there called meta
- Drop your copied file in there
Once the copied file is in your theme folder, you can customize it to suit your needs. In this case, you can change the “Other” text on Line 15 to your translated text.
These steps are outlined in more detail in our Themer’s Guide. I’d suggest checking that out if you run into any difficulty with this. đŸ™‚
Also Ik like to change event time in closing time Where can I do this?
Are you trying to change the end time for an event so it ends at a specific time? You can set the start and end time for an event in the event editing screen in the “Event Time & Date” section.
Cheers!
GeoffDecember 9, 2014 at 12:25 am #912753Ad vd Linden
ParticipantTime question
No I want to change the reading way for visitors
Because I use this plugin / evens for a golf course closed course time
I like to make time to presented as to closed time (but in translate file dutch)December 9, 2014 at 12:26 am #912756Ad vd Linden
ParticipantTime question
No I want to change the reading way for visitors
Because I use this plugin / evens for a golf course – closed course time
I like to make time to presented as to closed time (but in translate file dutch)December 9, 2014 at 8:23 am #913042Geoff
MemberThanks for  clarifying! It will definitely take some custom development that is beyond the level of support we can provide here in the forums, but you have three options for re-formatting the time around closed times:
- Override the templates where the times are displayed. Just like you did to translate the “Other” text. Here’s a link to our Themer’s Guide for more reference.
- Write a custom filter. Head over to our documentation to see all the available functions that are available.
- Update the language files. If there is specific text you want to translate, you can add it to your the the language file for your site.
Sorry I don’t have a concrete solution for you here, but hopefully this helps steer you in the right direction.
Cheers!
GeoffDecember 10, 2014 at 2:39 am #913909Ad vd Linden
ParticipantI am going to try this
thanksDecember 10, 2014 at 7:24 am #914131Geoff
MemberMy pleasure–thanks for following up!
I’ll go ahead and close this thread, but please feel free to hit us up with a new one if any other questions pop up. We’d be happy to help. đŸ™‚
Cheers!
Geoff -
AuthorPosts
- The topic ‘Translation extra field header’ is closed to new replies.
