Translations in Greek for Community Events

Home Forums Additional Help Translations Translations in Greek for Community Events

Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • #997160
    Nikolaos
    Participant

    Hi Brian

    The Facebook translation is ready 🙂
    https://www.dropbox.com/s/9noo5gcymzvfzei/tribe-fb-import-el.po?dl=0

    PS I have sent a mail to [email protected] on Thursday 8/13 but I haven’t received any answer.

    #997763
    Brook
    Participant

    Howdy Nikolaos,

    I can not find an email from you last Thursday. 🙁 Can you share your email address here? If you check the box “Set as private reply” if will hide the response and thus your email from the public.

    Cheers!
    – Brook

    #997822
    Nikolaos
    Participant

    Hi Brook 🙂

    The mail address is [email protected] and I sent and yesterday again

    I attach the mail here and if you want delete it after reading it

    My name is Nick Avgerinos from Greece and we have licenses through your non profit program.
    I know we can’t ask for support, but since we help you with the Greek translations, Brian told me that we can put some answers and we thank you in advance for this.

    Reference:
    https://theeventscalendar.com/support/forums/topic/translations-in-greek-for-community-events/#dl_post-994566
    https://theeventscalendar.com/support/forums/topic/translations-in-greek-for-community-events/#dl_post-994733

    We face two major problems.

    Problem 1
    Permalinks for Venue and Organizer do not work (Error 404 Page not found) when we work with WordPress in Greek and we have the words “Venue” and “Organizer” translated in Greek (in the .mo file)

    http://www.omorfizoi.gr/venue/κτήμα-νοόσφαιρα/ -> working ok
    http://www.omorfizoi.gr/τόπος-διεξαγωγής/κτήμα-νοόσφαιρα/ -> not working

    http://www.omorfizoi.gr/organizer/νέος-διοργανωτής-test/ -> working ok
    http://www.omorfizoi.gr/διοργανωτής/νέος-διοργανωτής-test/ -> not working

    When we leave the words “Venue” and “Organizer” untranslated, everything works fine

    The trials have been done in clean environment, with only:
    Theme Avada v3.8.6
    The events calendar v3.11.2
    The events calendar pro v3.11.1

    After every change, we do flush WordPress permalinks

    Problem 2

    We keep a separate directory (Directory 2.0) and we want “Venue” and “Organizer” to lead to this Directory listings

    We took the code from the following topics:
    https://theeventscalendar.com/support/forums/topic/override-venue-link-with-custom-url/
    https://theeventscalendar.com/knowledgebase/make-links-event-go-straight-event-website/

    Code for Venue works fine ! ! !
    Code for Organizer doesn ‘ t work

    /*
    * This changes the organizer link to the organizer website URL if that
    is set.
    * NOTE: As of PRO v3.9.1 not all organizer links are filterable. This
    snippet will not work with 3.9.1, but will be useful for future versions.
    * NOTE: Uncomment the add_filter() line to enable this function.
    */
    function tribe_set_organizer_website ( $link, $postId, $echo, $url,
    $name ) {
    $organizer_link = tribe_get_organizer_website_link(
    tribe_get_organizer_id( $postId ), false);
    // Only swaps link if set
    if ( !empty( $organizer_link ) ) {
    $link = $organizer_link;
    }
    return $link;
    }
    add_filter( ‘tribe_get_organizer_link’, ‘tribe_set_organizer_website’,
    100, 5 );

    The trials have been done in clean environment, with only:
    Theme Avada v3.8.6
    The events calendar v3.11.2
    The events calendar pro v3.11.1

    After every change, we do flush WordPress permalinks

    #998537
    Brian
    Keymaster

    Hi,

    I can help out this time, but usually we try to keep threads to one issue.

    For the first problem it looks like the Greek characters are using non-ascii characters and that is not allowed in urls.

    http://ux.stackexchange.com/a/31107

    When I try to enter in the your words for Venue and Organizer in my text editor that is strict ascii it does not show most of the characters.

    So you maybe to find a way around this, but there is nothing we can do to get around this unfortunately as WordPress itself stripped out the characters too when I tried it.

    As for the 2nd issue.

    The Organizer system was overhauled in 3.11 to enable multiple organizers.

    And that filter no longer works and we need to update it.

    I would instead follow our themer’s guide:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    To move and edit this file:

    the-events-calendar\src\views\modules\meta\organizer.php

    Once in your theme replace this:

    <?php echo tribe_get_organizer( $organizer ) ?>

    With This:

    <?php
    $organize_website = tribe_get_event_meta( $organizer, '_OrganizerWebsite', true );
    $oragnizer_name = esc_html( get_the_title( $organizer ) );
    if ( $organize_website ) {
    echo '' . $oragnizer_name . '';
    } else {
    echo $oragnizer_name;
    }
    ?>

    Cheers

    #998909
    Nikos Avgerinos
    Guest

    I wrote the mail here because Brook told me you couldn’t find my mail (I have sent it twice at ‘[email protected]’).

    My apologies for expanding this case in this forum.

    Your mail helped us to make the redirection we want.

    Thank you very much !
    Nikos

    #998920
    Brian
    Keymaster

    No worries glad it helps.

    I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.

    Thanks

Viewing 6 posts - 16 through 21 (of 21 total)
  • The topic ‘Translations in Greek for Community Events’ is closed to new replies.