I've tried that now. It didn't work. I apologise: I should have been more specific. The syntax error of 'expected statement' appeared in all instances where I used the renpy.change_language() fxn.
No worries! Would you be able to share a snippet of the code? Hopefully looking at it might clue me in to the issue.
renpy.change_language(language, force=False)
label language_choose: menu: 'English': renpy.change_language(None) 'toki pona': renpy.change_language(tokipona) $ renpy.utter_restart()
Is that enough? Just tell me if you want more.