Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/methnen/hanzi-converter/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
This is super rough and I don't necessarily consider it ready for prime time but it does function.
This inserts a meta box into posts and pages.
The meta box accepts either a string of Hanzi or a some Chinese to English dialog.
If it gets a string of Hanzi it'll just return the Pinyin conversion of that text:

For dialog it expects text in the format of English then Chinese or Chinese and then English:
那他自己能同意吗?
Would he agree with this?
你知道吗?
You know?
When it gets that kind of input it'll return something like this:
那他自己能同意吗?|nà tā zì jǐ néng tóng yì ma?|Would he agree with this?
你知道吗?|nǐ zhī dào ma?|You know?
