If you only configure English and Chinese, you can directly configure it in the i8n folder in the code (as shown in Figure 1).
If you want to configure languages other than Chinese and English, you need to go to the applet developer platform for configuration (as shown in Figure 2).
Figure 1
Figure 2