How to change the url of a post type and adjust the menu

My problem is that I want
• “trabajos” to be active when a project is visited,
• I also would like the directory “proyecto” to change to “trabajos”

Example where “proyecto” is on the url and “trabajos” is not the active item on the menu:

whrere should I start?
Here is the solution to the active menu.

I will google about the url thing