The swing-out bar will need to be shortened slightly, and the hinge side beveled for clearance. The hinge channel should be welded first. Then carefully measure/drill the pivot bolt for the hinge, and grind a nice clearance radius for easy swing out. Finally, you can weld the latch channel (shown). The channel can be held to the swing-out bar with the pin in place to help inform your weld.