There are many contract templates out there for software development freelancers. However, most are written for the US jurisdiction, and are worded so as to be enforceable in a US court of law. Now, it's clear that most contracts do not lead to dispute, and most disputes are settled outside the court. However, it seems the value of a contract is as a deterrent against the worst-case scenario, e.g. a lawsuit in case the work is completed and the client refuses to pay. To be an effective deterrent, the contract surely needs to be written with appropriate legal language, which varies between jurisdictions.
Freelancers, how do you handle contracts for an international client base scattered through multiple jurisdictions? Do you just use a US template contract for each client, and hope for the best? Do you have a template for each country?