I think it can generalize its knowledge from one language to another. e.g. If you invent your own programming language and teach ChatGPT how to use it with only a few examples. I assume the same applies to human languages.