Translate.google.com can be used in the same way as one uses the question and answer (Q&A) functionality of the program that you are using now, that is, StackExchange itself.
The two primary reasons for studying a language is to answer these two fundamental questions:
"What did he/she/it just say?", and
"How can I/we/they reply?"
When learning a language conventionally, one relies pretty much completely on the human brain to understand the first question, and then rely on that same brain to respond on the second question. Google is a computer-based media upon which the two questions can be much more easily translated in one language and replied with to answer the second question in addition to the brain of the language-learning student.
This process is defined as "artificial intelligence", "AI" for short, since an artificial brain (Google Translate) provides the intelligence to ask and answer these two questions in any two of the 50+ languages that Google Translate "knows". Therefore, by using Google Translate one can learn first to learn how to understand the language of the question, and then how to write one's answer to the second question in one's own native language.
By switching the input/output windows one can quickly learn whether or not the reader can understand your answer in that reader's own language. And if not, to continue to use Google to rewrite your reply in that language until the Google translation shows it to be likely that your reply will be understood not only by the reader, but by others as well.
There is a second attribute of Google that I believe is of very great value. In addition to Google providing a written translation of the first question, this second attribute is that a spoken translation is provided as well.
This spoken attribute is spoken in Google Translate is spoken alternately in two speeds -- a slow but normal talking speed on the first request, and then on a second request spoken at a much slower talking speed which, to me, is intended for learning or better understanding the pronunciations of the words, phrases, sentences, paragraphs, and pages of text that can be written into the Google Translator's source language box and then read back over and over and over again until the user learns how to correctly pronounce all those words in the target language display box.
Over all then, my answer to your question is that the two basic functions in learning a language can be satisfied when one uses Google Translate (translate.google.com) to read and speak a language, and as well as asking and answering questions in StackExchange in the learned language .