The major task is to check the Chinese texts are displayed correctly in the PsychoPy experiment. Below are several steps to guide you through the process.
guilt task chinese gitlab
facial trait chinese gitlab
You may need PsychoPy 2021.2.3 for running experiments
- Set the font to "Songti SC" for Chinese texts
- Adjust letter height and position
- If the text is not wrapped correctly, you may need to return lines manually
- Make sure we used unicode for Chinese texts, which should be
u"中文内容"
- If you have seen
$somevaribles
in the text box, it indicates that the content of this text component is defined by a variable. You may need to search for the variable in the code component and replace it with Chinese texts. Open the _last_run.py file and search for the variable name will make it easier to locate the variable in the code component. But make sure you make every change in the psychopy builder.
If you have extra time, you can explore uploading the experiment to Pavlovia and check if the Chinese texts are displayed correctly. Here's a tutorial of how to upload the experiment to Pavlovia:
Launch your study to pavlovia