This thread is closed, but I feel like it’s a good solution: Translate for game chat
It was mentioned that there is some server cost. That is true, but robo-translation is pretty darn cheap. This UX is also used in many of the big social media sites: