Hi, thanks’ for your prompt reply. Unfortunately, adding the suggested line of PHP did not resolve the issue but threw an error. I noticed that in the Events list table, the repeat interval labels (e.g. hourly, daily, weekly, monthly, yearly, custom) are currently echoed as raw strings in class-admin-posts.php inside the column_name() method. Because these strings are not wrapped in a translation function (__(), _e(), etc.), they cannot be translated via WPML / Loco Translate / PO files. That’s why they always stay in English. I solved this with the following PHP snippet (the event status array in the code is translated for my convenience).
add_action(‘manage_ajde_events_posts_custom_column’, function($column, $post_id) {
if ($column !== ‘name’) {
return;
}
// Grab original HTML printed by EventON
ob_start();
}, 0, 2);
add_action(‘manage_ajde_events_posts_custom_column’, function($column, $post_id) {
if ($column !== ‘name’) {
return;
}
$html = ob_get_clean();
if (empty($html)) return;
// Replace raw repeat labels with localized Slovene version
$map = [
‘hourly’ => ‘Vsako uro’,
‘daily’ => ‘Vsak dan’,
‘weekly’ => ‘Vsak teden’,
‘monthly’ => ‘Vsak mesec’,
‘yearly’ => ‘Vsako leto’,
‘custom’ => ‘Po meri’,
‘cutom’ => ‘Po meri’,
];
foreach ($map as $en => $sl) {
$html = preg_replace(‘/>’ . preg_quote($en, ‘/’) . ‘</’, ‘>’ . $sl . ‘<‘, $html);
}
echo $html;
}, 99, 2);
I hope this helps you fixing the issue permanently with the next plugin update