judge = judecător (masculine) / judecătoare (feminine)
To my shame, I haven't heard of the word "advocate" with the meaning of a person trained in law. After reading the definition of "advocate", I would just use the word "avocat", which is also what some online EN->RO dictionary say: 1 2 3
Just to clarify. In Britain, a distinction is made between "solicitors", general lawyers, and the specialised lawyers who represent clients in higher courts. In England and Wales these latter are called "barristers". In Scotland, which has a separate legal system, they're called "advocates".