#1
by
AngelVJimenez
Good morning,
I am doing a cross-cultural experiment with participants in UK and China.
When I use {{ player.payoff }} in the HTML template, it returns "X [number] points". Is there a way I can replace "points" for the word in Chinese when using {{ player.payoff }}? Or a way that {{ player.payoff }} only returns the number without the word "points"?
Thank you very much.
Best,
Angel
#2 by Fanist
Yes! Open the "settings.py" file and change LANGUAGE_CODE to: ``` LANGUAGE_CODE = 'zh-hans' ``` 'zh-hans' will change the base language to Chinese.