It is hard to help you when you're not saying anything about the error message.
However, according to the
TranslateClient[
^] class definition, there is no constructor taking a string.
So, I assume
TranslateClient client = new TranslateClient();
will solve your problem.