Am/Pm + translation

Home Forums Calendar Products Community Events Am/Pm + translation

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1338073
    Marcus Stenberg
    Participant

    Hi. See image for numbers of question.

    1. I want to change the input in community events to be in 24hr format, not Am/Pm since we dont use this format in my coutry. Is it possible to do this? The general option i wordpress in 24hr format but the input field still shows am/pm for some reason.

    2. In what file do I change “All Day Event”?

    3. In what file do I change the phrase “Create or find”?

    #1339654
    Geoff B.
    Member

    Good morning Marcus and welcome back!

    Thank you for reaching out to us.

    First off, I would like to apologize for the delay answering.
    We are currently experiencing a higher level of requests than usual.

    Please rest assured that we are working hard at correcting this situation.
    We appreciate your patience while we try to normalize things.

    I would love to help you with this topic.

    1. I want to change the input in community events to be in 24hr format, not Am/Pm since we dont use this format in my coutry. Is it possible to do this? The general option i wordpress in 24hr format but the input field still shows am/pm for some reason.

    You could apply the following snippet in the functions.php file of your theme (without the PHP tag at the top): https://gist.github.com/andrasguseo/77073707356b4e9bc55e23bb7ebd67bc#file-ce-temp-timepicker-fix-php

    2. In what file do I change “All Day Event”?

    You would need to change that in the Events Calendar (/wp-content/plugins/the-events-calendar/lang/) AND in the Events Calendar Pro’s language files (/wp-content/plugins/events-calendar-pro/lang/)

    I highly recommend reading the 3 following articles on translation:

    If that is too involved, you could also try You could apply the following snippet in the functions.php file of your theme (without the PHP tag at the top), after some editing for the strings you want to change: https://gist.github.com/andrasguseo/29903a974cb84060957881c17613c278

    3. In what file do I change the phrase “Create or find”?

    This last string is found in the Events Calendar (free)’s language files (/wp-content/plugins/the-events-calendar/lang/)

    It looks like this “Create or Find %s”.

    Let me know if that helps.

    Have a great day!

    Geoff B.

    #1344772
    Marcus Stenberg
    Participant

    Hi. Thanks for helping!

    1. Worked! Thanks!!

    2. This doesnt work. The translation wont show up for some reason. What could I be doing wrong? All my other translations are showing up correctly.

    3. My language file doesnt have this line in it for some reason. I have shared my language files as a zipped attachment to this post if you need to have a look at them.

    #1345275
    Geoff B.
    Member

    Good evening Marcus,

    I am glad we are making some progress!

    2. This doesnt work. The translation wont show up for some reason. What could I be doing wrong? All my other translations are showing up correctly.

    When translation file strings are not kicking in, it is usually caused by one of the following things:

    1. Your translation files are not up to date
    2. You are using some customized translation files that have been placed in the /wp-content/languages/ or /wp-content/languages/plugins/ folder. These might not be updated and will override any other file.
    3. The strings are translated, but are considered “fuzzy”

    In the first 2 cases, the solution is to update your translation files using the pot file. You can do this by using the Poedit software and heading to Catalog > Update from pot file.

    In the last case, you will need to make them “unfuzzy” using Poedit.

    3. My language file doesnt have this line in it for some reason. I have shared my language files as a zipped attachment to this post if you need to have a look at them.

    I believe this is because they are not up to date (the update from pot suggestion from above).

    Here is a copy of the updated file (watch out for fuzzy translations): sv_updated

    Best regards,

    Geoff B.

    #1355654
    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 ‘Am/Pm + translation’ is closed to new replies.