FYI
PsychoPy 2026.2.4
Windows 11 Japanese
PsychoPy would not start at all after installation.
Running:
import psychopy.app
psychopy.app.startApp()
raised:
UnicodeDecodeError: ‘cp932’ codec can’t decode byte 0xef …
The problem was in:
Lib/site-packages/i18next/base.py
Changing the file opening to:
encoding=“utf-8-sig”
resolved the issue.
Locale:
(‘ja_JP’, ‘cp932’)
Hi, agein.
Additional note:
After fixing the UTF-8 issue, PsychoPy starts.
However, the GUI remains entirely in English.
I checked:
D:\Program Files\PsychoPy\Lib\site-packages\psychopy\localization\locales\ja-JP.json
and it only contains one translation entry:
“Welcome to PsychoPy!”
For example:
from psychopy.localization import _translate
print(_translate(“File”))
returns:
File
so it appears the Japanese localization file is largely empty.
Hello @lupus_Canis
That could well be. If you want to contribute a Japanese localization take a look here Translations — PsychoPy®
Best wishes Jens
Thank you. I highlighted this post to @TParsons who has discovered a bug which should be fixed in the next release (2026.2.5 coming soon).
2026.2.5 is now out and contains the correct translation files now
The UTF-8 error requires a bigger fix which will be in 2027.1.0, in the meantime the patch you describe is probably the best quick fix.
The reason translations were blank is that we recently moved to having translations in a single repository shared by PsychoPy Studio and PsychoPy Standalone, from which we get translations and bake them into the apps at build time. Unfortunately, a bug in this repo meant the translations were baked in as blank despite being populated in the repo, but that’s now fixed and I’ve checked that the resulting translation files in 2026.2.5 do have translations in them.