If any language was written like Chinese has the same answer -- the written form of Chinese was not necessarily meant to be phonetic, although there are portions of it that have evolved to be phonetic. The characters have meanings and the grammar is very fluid to the point where a sequence of characters stringed together (such as in poetry) can be interpreted and debated.
Cantonese and Mandarin are considered dialects, so I won't use that as an example, but this problem has already been solved in Korean. For a long time, Hangul did not exist and Korean scholars used Chinese as the written system despite speaking in a completely different language. This is obviously an old article (1999), but the fact that it doesn't consider how this is a solved problem from a real historical use case makes the musing incomplete.
Cantonese and Mandarin are considered dialects, so I won't use that as an example, but this problem has already been solved in Korean. For a long time, Hangul did not exist and Korean scholars used Chinese as the written system despite speaking in a completely different language. This is obviously an old article (1999), but the fact that it doesn't consider how this is a solved problem from a real historical use case makes the musing incomplete.