Translate "project" and "project category" slug in Divi theme - wordpress

I managed to modify the standard "project_category" slug into "localita" and the standard "project" slug into "vendita". This is for the italian side of the website. Now I am translating it into english, and I am trying to get those slug translated as well as follow:

  • localita -> place
  • vendita -> sale
  • vendite -> sales

The php code used so far is the following:

add_filter( 'register_taxonomy_args', 'change_taxonomy_category_project', 10, 2 );

function change_taxonomy_category_project( $args, $taxonomy ) {
    if ( 'project_category' === $taxonomy ) {
        $args['rewrite']['slug'] = 'localita';
    }
    return $args;
}


function change_taxonomy_project() {
    register_post_type( 'project',
        array(
            'labels' => array(
            'name' => __( 'Vendite', 'divi' ),
            'singular_name' => __( 'Vendita', 'divi' ),
        ),
        'has_archive' => true,
        'hierarchical' => true,
        'public' => true,
        'rewrite' => array( 'slug' => 'vendita', 'with_front' => false ),
        'supports' => array(),
    ));
}
add_action( 'init', 'change_taxonomy_project' );

How can I get those string translated editing that code? I am using WPML to translate all the contents. Currently using WordPress with Divi theme from Elegant Themes

Thanks :)

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum