Translation extra field header

Home Forums Calendar Products Events Calendar PRO Translation extra field header

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #911680
    Ad vd Linden
    Participant

    Ik 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?

    #912159
    Geoff
    Member

    Hi 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!
    Geoff

    #912753
    Ad vd Linden
    Participant

    Time 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)

    #912756
    Ad vd Linden
    Participant

    Time 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)

    #913042
    Geoff
    Member

    Thanks 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!
    Geoff

    #913909
    Ad vd Linden
    Participant

    I am going to try this
    thanks

    #914131
    Geoff
    Member

    My 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

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Translation extra field header’ is closed to new replies.