• Resolved Alelouya

    (@alelouya)


    Hi,
    I’ve noticed some translation related issues.

    In the single event page, the terme “All” in the link “All events” is not translated although the translation is in the .po file.
    There seems to be an issue with ‘All %s’ in esc_html_x( 'All %s', '%s Events plural label', 'the-events-calendar' ) in single-event.php.

    Another issue :
    In nav.php, esc_html__( 'Next %s', 'the-events-calendar' ), $events_label_plural . ' <span>&raquo;</span>' ), the %s includes <span>»</span> so in French that makes “Evénements (events) >> suivant (next)” instead of “Evénements suivant >>”.

    I have solved this issue by overriding this template in my child theme and by taking out <span>»</span> out of printf, like this :
    <?php printf( esc_html__( 'Next %s', 'the-events-calendar' ), $events_label_plural); ?> <span>&raquo;</span>.

    It would be great if you could fix them in your next update.

    Otherwise, I don’t like very much the use of capital letter for “Event” like in “Next Events”.and would appreciate if we could have a choice of using or not using the uppercase.

    Thanks a lot for this great plugin.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter Alelouya

    (@alelouya)

    PS.
    Another issues :
    For the “Next events” link, the folowing code in nav.php :
    esc_html__( ‘Next %s’, ‘the-events-calendar’ ), $events_label_plural) is giving the translation of ‘Next’ and not ‘Next %s’. (In French the adjectif “Next” becomes plural and in the .po file, the translation of ‘Next %s’ gives the plural form as it should).
    The same thing with “previous”.

    Hey there!

    We released version 4.4.0.1 yesterday and it included some translation updates. Will you please update and see if that resolves these translation issues?

    Cheers!
    Geoff

    • This reply was modified 7 years, 10 months ago by Geoff Graham.

    Good afternoon,

    Following up on my colleague Geoff’s comment with some additional feedback.

    Thank you for reporting these translation related issues.

    I have opened a few additional bug tickets to address them.

    Regarding the first issue, you can fix it by changing the line to

    printf( '&laquo; ' . esc_html__( 'All %s', 'the-events-calendar' ), $events_label_plural )

    As for the very last bug on the list, I believe this might be caused by the fact that our latest releases did not have fully updated po files in them.

    You can update your file by using the Poedit software and heading to Catalog > Update from pot file.

    Hang in there as we work on the other glitches

    Best regards,

    Geoff B.

    Good afternoon,

    Just a quick word to let you know that this issue has been fixed in the latest versions of our plugins.

    Best regards,

    Geoff B.

    Hello Dear friends,

    I’m facing some issues, the event calendar is not following translation file for Brazil, for example ‘View all %s’ described in list-widget.php line 95, the expected behavior is read:
    #: src/views/widgets/list-widget.php:95
    msgid “View All %s”
    msgstr “ver todos %s”
    Described on the-events-calendar-pt_BR.po using LOCO plugin.

    Further, Jupiter is template actived.

    Could you please help us?

    Thank you

    I’m facing various translation problems, texts that appears in english although their translations are in .po file:

    – Day page
    – See image https://jorgerobledo.com/wp-content/uploads/2017/09/the-events-calendar_1.jpg)
    – Title (Events for Septiembre 13, 2017)
    – Month page:
    – Export events button
    – Title (Events for September 2017)
    – List page:
    – Next events link
    – Previous events link

    Same here. Weird issue, translated some phrases few weeks ago which still show on front end, but when uploading a new language .mo file I do not see any changes. My questions is – where does the old translation come from? It only reads the lang files doesn’t it? Puzzeled.

    Plugin Contributor Victor Zarranz

    (@vicskf)

    Hello There!

    Just wanted to share with you that a new maintenance release (for the Week of 1st November 2017) is out, including a fix for the Next events link and Previous events link where they could not be translated properly in nav.php

    Find out more about this release → https://theeventscalendar.com/maintenance-release-for-the-week-of-1-november-2017/

    Please update the plugins and let us know if the fix works for your site.

    If you encounter issues with other translations please open a new topic so we can focus on each of the issues separately.

    Best,
    Victor

    joernp

    (@joernp)

    Hi Victor,
    I’m also facing some issues here. See this post
    Even without any .mo file for german translation, I can see all (old) translations.

    Any help very appreciated.

    Cheers

    Joern

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Translation not working (All events ; next events)’ is closed to new replies.