This seems like a very cheap solution but also a very very wrong solution. 2 people talking to each other using only a dictionary in a language they know nothing about is just going to result in poor grammar and/or your own made-up language, basically.
Case in point:
As far as I can tell, what you're trying to say here is "foolish is the foreigner", but what you're actually saying is "foolish is foreigner", that is, you're not saying "the foreigner is foolish" but saying "the foolish", as a thing in of itself, is a foreigner? It doesn't really make sense. Also doesn't help that foolish is normally an adjective. And gaijin is a better word for foreigner.
If you're going to learn Japanese I would strongly recommend you talk to/interact with people who actually use the language, or at least read things written by native Japanese.