Well thank you for this question i did this after you posted this
function category_title( $title ){
if( is_category('name1') ){
$title="name1 title";
}elseif( is_category('name2') ){
$title="name2 title";
}
return $title;
}
add_filter( 'get_the_archive_title', 'category_title' );
Hope this helps