Install Chinese input method (Googlepinyin) on Raspberry Pi 4B, just do it !
0, update the software source
sudo apt-get update
1. Install Fcitx framework and Googlepinyin input method
sudo apt-get install -y fcitx fcitx-googlepinyin
2. Restart
sudo reboot
3. Enable Googlepinyin input method
1) Input method setting: Preferences–>Fcitx Configuration
2) Add Google Pinyin: You need to remove the "Only Show Current Language" tick, because the system defaults to English, so the Chinese input method will be blocked by the system and will not be displayed.
3) After selecting it, click "OK", and the Chinese input method can be used.