They have jobs already. I don't know if you're US-based, but our company is having the same issue with off shore devs.
I've been banging my head for the past few weeks trying to get our management team to understand off shoring is by no means an easy solution any more. We've traditionally hired off shore with good success, and management thinks it's still easy. However, our recruiters have been fairly quiet these past few months, and the candidates that we're getting are a lot less experienced than what we want. You absolutely cannot just waltz into a developing country with a US job posting and expect candidates lining up. Everyone did that, and now we're in a situation where the competition is insane. Off shore costs have skyrocketed, and, addressing your second point, you have to have interesting work for them.
Being an offshore dev, I can say that its hard finding people that are hiring, its a marketplace issue. There's a limited number of people with good foreign language skills. So any good Seniors with good English are all being scooped up as well.
I've been banging my head for the past few weeks trying to get our management team to understand off shoring is by no means an easy solution any more. We've traditionally hired off shore with good success, and management thinks it's still easy. However, our recruiters have been fairly quiet these past few months, and the candidates that we're getting are a lot less experienced than what we want. You absolutely cannot just waltz into a developing country with a US job posting and expect candidates lining up. Everyone did that, and now we're in a situation where the competition is insane. Off shore costs have skyrocketed, and, addressing your second point, you have to have interesting work for them.