you can try this custom snippet –
function change_where_metabox( $translated_text, $text, $domain ) {
switch ( $translated_text ) {
case 'Where' :
$translated_text = __( 'Sponsoring Location', 'text-domain' );
break;
}
return $translated_text;
}
add_filter( 'gettext', 'change_where_metabox', 20, 3 );
– change ‘text-domain’ with ‘login-with-ajax’
– change ‘Where’ with the text that you’ve wanted to translate in Login With Ajax (use the whole text) eg. Login Successful, redirecting...
case 'Login Successful, redirecting...' :
$translated_text = __( 'Your translation or custom text', 'login-with-ajax' );
break;
you can add the custom snippet at the end of your theme functions.php or using mu-plugins