You can not weld that crack with any type of fluid leaking out. You'll have to take the trans out, turn it upside down, and then clean the crack so no oil residue is anywhere near it. When you heat it during a weld, it will draw the fluid out of the crack contaminating the weld.
As said, JB weld.