It is not an easy task to program a translation tool because language is a very complicated program, to begin with. To understand why online translations don't go as you expect here's a very detailed presentation that will help you understand! Source: https://deftpdf.com/blog/how-to-translation-tools-work