[Django]-How to fix Django Translation ASCII decode error?

6👍

Found the solution, had to put the header in all .po files at top.

"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

Thanks for helping guys. It is better solution to use poedit for working with .po files

👤Yogi

0👍

Could there be a problem in the po file (it is python 2.7)? You can try:

msgstr u"Eine prüfung anlegen"

Leave a comment