Postal Code and City in German Version of Events Calendar PRO

Home Forums Calendar Products Events Calendar PRO Postal Code and City in German Version of Events Calendar PRO

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1361085
    Martin
    Participant

    Hi there! I am using the German Version of Events Calendar PRO. The given order of postal code and city looks wrong:
    Currently it is:
    city, postal code (e.g. “Freiburg, 79098” which looks wrong in German)
    whereas it should be like
    postal code city (without colon and the other way round)
    e.g.
    79098 Freiburg

    Do you think you could update the German Language pack? Many German users would be happy, I suppose. đŸ™‚
    Or is there something I need to set up in display options? I could not find a relevant option there.

    Best wishes,
    Martin

    #1361774
    Andras
    Keymaster

    Hallo Martin, GrĂ¼ss Dich

    Thanks for reaching out!

    Yup, that is a totally valid question / request.

    Unfortunately this change cannot be done in the language files but it is fairly easy to do with a template override. You can read more about template overrides in our Themer’s Guide.

    You are actually in luck as this was requested before, so a basic template override for this already exists here:

    https://gist.github.com/andrasguseo/372d4954b2c970dd2f7013eae0430efb

    Just copy the file here:

    wp-content/[your-theme]/tribe-events/modules/meta/venue.php

    and you should be set.

    You can also make further adjustments based on your needs. You will need to look around line 37.

    Let me know if this helps.

    Freundliche GrĂ¼sse

    Andras

    #1362017
    Martin
    Participant

    Lieber Andras,

    vielen Dank, this helps a lot! One more question: do you maybe also have a template for the list view of events? The order of postal code and city here is still ‘English’. Best wishes,
    Martin

    #1362244
    Andras
    Keymaster

    Hey Martin,

    I added the list view file override to the same gist.

    Here’s the link again, just in case.

    https://gist.github.com/andrasguseo/372d4954b2c970dd2f7013eae0430efb

    Cheers,
    Andras

    #1373871
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Postal Code and City in German Version of Events Calendar PRO’ is closed to new replies.