I would recommend using the translate
module by pip install translate
into your python shell. It uses google translate offline as a python module.
It would work something like this:
$ translate-kor -t zh "This is a pen."
More details on translate
can be found at the link https://pypi.org/project/translate/.
Once you have this, you can probably integrate it into your chat program, as you could easily save the translation to a variable. This is a viable alternative if you are not able to update your tkinter python module.