WPIntell

Source evidence

Translation missing

Events Block For The Events Calendar · support · 2025-03-06T11:14:00+00:00

complaintsentiment
highseverity
1.0relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

3 / 31 rows with source links

9.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Mon Coach WP unresolved
Hye, Month are not translate, long version and short version . And you have any pot files https://ibb.co/0WmV3JT (picture) Thank you This topic was modified 1 year, 2 months ago by Mon Coach WP . Hi @khahina Thank you for pointing out this issue. To make the month names translatable, please update the ebec-list-layout.php file located at: events-block-for-the-events-calendar\Layouts\list\ebec-list-layout.php Replace the code on lines 6 and 7 with the following: // Event month and year setup $monthNum = $event_value['event_start_date_details_month']; $year = $event_value['event_start_date_details_year']; // Month names translation setup $months = [ 'January' => __( 'January', 'ebec' ), 'February' => __( 'February', 'ebec' ), 'March' => __( 'March', 'ebec' ), 'April' => __( 'April', 'ebec' ), 'May' => __( 'May', 'ebec' ), 'June' => __( 'June', 'ebec' ), 'July' => __( 'July', 'ebec' ), 'August' => __( 'August', 'ebec' ), 'September' => __( 'September', 'ebec' ), 'October' => __( 'October', 'ebec' ), 'November' => __( 'November', 'ebec' ), 'December' => __( 'December', 'ebec' ), ]; $shortMonths = [ 'Jan' => __( 'Jan', 'ebec' ), 'Feb' => __( 'Feb', 'ebec' ), 'Mar' => __( 'Mar', 'ebec' ), 'Apr' => __( 'Apr', 'ebec' ), 'May' => __( 'May', 'ebec' ), 'Jun' => __( 'Jun', 'ebec' ), 'Jul' => __( 'Jul', 'ebec' ), 'Aug' => __( 'Aug', 'ebec' ), 'Sep' => __( 'Sep', 'ebec' ), 'Oct' => __( 'Oct', 'ebec' ), 'Nov' => __( 'Nov', 'ebec' ), 'Dec' => __( 'Dec', 'ebec' ), ]; // Get month names dynamically $englishMonthLong = wp_date( 'F', mktime( 0, 0, 0, $monthNum, 1 ) ); $englishMonthShort = wp_date( 'M', mktime( 0, 0, 0, $monthNum, 1 ) ); $longMonthStart = $months[ $englishMonthLong ] ?? $englishMonthLong; $shortMonthStart = $shortMonths[ $englishMonthShort ] ?? $englishMonthShort; For further details, please refer to the attached screenshot . Let us know if you need any further assistance. Thanks & Regards, hye, thank you for answer. I’ll wait for your next update (when is it due?), my malware scan didn’t like the modified original plugin files. And for now, I’ve written a hook to fix the problem. Have a nice day Hi @khahina We will be releasing the next update soon. In the meantime, we appreciate your workaround using a hook to address the issue. If you encounter any further concerns, please feel free to reach out. Thanks & Regards

Comments

3 shown
Vishali Tayal 2025-03-07T07:58:00+00:00

Hi @khahina Thank you for pointing out this issue. To make the month names translatable, please update the ebec-list-layout.php file located at: events-block-for-the-events-calendar\Layouts\list\ebec-list-layout.php Replace the code on lines 6 and 7 with the following: // Event month and year setup $monthNum = $event_value['event_start_date_details_month']; $year = $event_value['event_start_date_details_year']; // Month names translation setup $months = [ 'January' => __( 'January', 'ebec' ), 'February' => __( 'February', 'ebec' ), 'March' => __( 'March', 'ebec' ), 'April' => __( 'April', 'ebec' ), 'May' => __( 'May', 'ebec' ), 'June' => __( 'June', 'ebec' ), 'July' => __( 'July', 'ebec' ), 'August' => __( 'August', 'ebec' ), 'September' => __( 'September', 'ebec' ), 'October' => __( 'October', 'ebec' ), 'November' => __( 'November', 'ebec' ), 'December' => __( 'December', 'ebec' ), ]; $shortMonths = [ 'Jan' => __( 'Jan', 'ebec' ), 'Feb' => __( 'Feb', 'ebec' ), 'Mar' => __( 'Mar', 'ebec' ), 'Apr' => __( 'Apr', 'ebec' ), 'May' => __( 'May', 'ebec' ), 'Jun' => __( 'Jun', 'ebec' ), 'Jul' => __( 'Jul', 'ebec' ), 'Aug' => __( 'Aug', 'ebec' ), 'Sep' => __( 'Sep', 'ebec' ), 'Oct' => __( 'Oct', 'ebec' ), 'Nov' => __( 'Nov', 'ebec' ), 'Dec' => __( 'Dec', 'ebec' ), ]; // Get month names dynamically $englishMonthLong = wp_date( 'F', mktime( 0, 0, 0, $monthNum, 1 ) ); $englishMonthShort = wp_date( 'M', mktime( 0, 0, 0, $monthNum, 1 ) ); $longMonthStart = $months[ $englishMonthLong ] ?? $englishMonthLong; $shortMonthStart = $shortMonths[ $englishMonthShort ] ?? $englishMonthShort; For further details, please refer to the attached screenshot . Let us know if you need any further assistance. Thanks & Regards,

Mon Coach WP 2025-03-07T08:13:00+00:00

hye, thank you for answer. I’ll wait for your next update (when is it due?), my malware scan didn’t like the modified original plugin files. And for now, I’ve written a hook to fix the problem. Have a nice day

Vishali Tayal 2025-03-07T09:13:00+00:00

Hi @khahina We will be releasing the next update soon. In the meantime, we appreciate your workaround using a hook to address the issue. If you encounter any further concerns, please feel free to reach out. Thanks & Regards