You can set the whole OS to use Mandarin if you want, but that's not exactly "writing." Not sure what you mean.
I am pretty sure that you can leave the OS in English and "write" in another language in a word processor if you use the right font and keyboard, but maybe someone who knows Chinese should answer.