Translating Calendar Elements

Home Forums Calendar Products Events Calendar PRO Translating Calendar Elements

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1219449
    Tomonori
    Participant

    Trying to translate certain remaining elements on the Calendar Pro Plugin:

    http://cal.peaceofcode.net/events/

    For example the Headers for “Monday, Tuesday, Wednesday, etc…”
    and at the bottom “<< December” and “January >>”

    #1220057
    Geoff B.
    Member

    Good evening Tomonori and welcome back!

    Thank you for reaching out to us.
    I would love to help you with this topic.

    I notice that you are using WPML.
    If you haven’t already done so, please make sure to follow our guides on that topic:

    1. https://theeventscalendar.com/knowledgebase/setting-up-the-events-calendar-with-wpml/
    2. https://theeventscalendar.com/knowledgebase/creating-translations-for-events-using-wpml/

    To translate days and Months, I would recommend using the String translation Interface in WPML.

    Make sure that you search for those untranslated terms and that you translate them for all domains (not just the Events Calendar Pro), but also the WordPress text domain.

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1220761
    Tomonori
    Participant

    Thanks Geoff,

    I have removed WPML.

    Specifically, I am trying to translate:

    1. The fields on this page:
    http://cal.peaceofcode.net/events/community/add

    2. The language in emails that go out to users when they submit an event.

    Can you please tell me where these files are?

    #1221244
    Tomonori
    Participant

    These are the instances I need to translate to Japanese.

    – Submit event form
    – E-mail content for when someone submit a new event.

    #1221369
    Geoff B.
    Member

    Good evening Tomonori,

    Thank you for writing back.

    To become an expert translator of our plugins, I would recommend reading these 2 articles:

    1. https://theeventscalendar.com/knowledgebase/how-to-override-plugin-language-files/
    2. https://theeventscalendar.com/knowledgebase/changing-the-language-on-your-calendar/

    Additionally, the most recent version of all translation files for our plugins is always found here: http://translations.theeventscalendar.com/projects

    To achieve your goal, you will need to open up the language files of our free the Events Calendar plugin, of our the Events Calendar Pro plugin and of our Community Events plugin.

    Using Poedit, you can simply search for any string you want to translate in those files and make your own adjustments.

    Let me know if that helps.

    Have a great day!

    Geoff B.

    #1221384
    Tomonori
    Participant

    This link doesn’t work.
    http://translations.theeventscalendar.com/projects

    And can you please just tell me, for example, where I can change the existing text shown in this screenshot (I don’t care if I am doing it the ‘wrong’ way for now, I can fix it later).

    #1221976
    Geoff B.
    Member

    Good evening Tomonori,

    I am sorry the link did not work.
    As you have guessed, the proper way to do this is to use translation files.

    Since it looks like you are pressed for time, there are 2 very fast ways to do this:

    1. Use and adapt the code snippet found at the bottom of this page: https://theeventscalendar.com/knowledgebase/change-the-wording-of-any-bit-of-text-or-string/ . Use that code in the functions.php file of your WordPress theme
    2. You could simply override the strings in question directly in our plugins file. The complete list of the view files in our Themer’s guide .

    For example, to override Community Event’s front-end submission file (which looks like the screenshot you have sent me), the view files are all located in /wp-content/plugins/the-events-calendar-community-events/src/views/

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1224097
    Tomonori
    Participant

    Got it. Thanks

    #1224172
    Geoff B.
    Member

    Good evening Tomonori,

    I am super stoked that this worked out for you!

    You are welcome back in our support forums any time 🙂

    For now, I am going to close this thread.

    Have a great week!

    Geoff B.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Translating Calendar Elements’ is closed to new replies.