Can machines replace human translators?

I used free online translation programmes recently, and have been surprised by the accuracy of the results. In certain instances, they were probably better than human translators. Eventually, machines may replace humans in translating documents, though I doubt that they can make humans completely redundant. There is something about language that defies logic and rationality thus will confuse machines. Human eyes probably will still be required, but not as the initial translator but more in the editing and checking functions.