Could last a while.
My husband has pain from his surgery 8 years ago. the mesh pushes on a nerve and he is in chronic pain.
He's getting the mesh removed soon.
Yeah I had the mesh and it caused a lot of pain for a lot of years. The worst was during sex it would be literally breath taking. It was taken out last summer and I would call it a 99% cure so far. There is still some pain now and again, and some tingling and other sensations. The most unpleasant is the deep slicing like a knife cut down in the deep layers. I haven't had that since about 3 months post op.
When your husband has the mesh taken out, avoid sex with you on top for several months. Your pelvic bones can press right on the area where the mesh used to be.
OP, for me the pain diminished a lot starting about 3 weeks post op, but it was a long haul. At 3 months post op the pain was mostly gone. If he can get ahead of the pain with Aleve or Advil or even Tylenol it can be pretty well controlled during sex. My doc told me that after about 2 weeks things would be healed enough that it wouldn't get damaged, but I don't fully buy into that. The tissues are inflamed and still healing even if the incision has healed strong.
The stitches will cause some irritation until they fully dissolve. I had bits erupting through the skin months later.
I don't really quite know what you mean by his testicle being moved. There is a muscle which connects through the inguinal canal which attaches to the testicle and is what moves it up and down. There is a nerve which serves this muscle, I think it is the ilio-inguinal nerve. That nerve runs into the scrotum. Messing with that muscle or that nerve could cause the testicle to hang low without the muscle being able to contract and pull the testicle up. Function may return in time. Swelling from the surgery could be causing him discomfort now which could go away as the swelling goes down.
The prime rule is for him to not do anything which causes pain. Some discomfort is normal, and for me I was sexually active in 3 weeks after two of my surgeries but with some soreness. I think I pushed it too much to be honest.
Bottom line: don't panic yet! He will heal.