Translation not working (All events ; next events)
-
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’ inesc_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>»</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>»</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.
- The topic ‘Translation not working (All events ; next events)’ is closed to new replies.