abbas123456
abbas123456

Reputation: 21

Django makemessages is marking translated strings as fuzzy

I am having issues with the Django makemessages management command. It seems like it is randomly marking messages as fuzzy in the .po file even though they have already been translated. For example....

#: templates/profile/edit.html:21
msgid "Save Changes"
msgstr "Save Changes DE"

Would become...

#: templates/profile/edit.html:21
#, fuzzy,
msgid "Save Changes"
msgstr "Save Changes DE"

The behaviour is very intermittent and hard to recreate, so debugging hasn't been straightforward.

Does anyone have any ideas?

Upvotes: 2

Views: 1934

Answers (1)

Michal Čihař
Michal Čihař

Reputation: 10091

I'd guess there is some change in the string - maybe some non printable character, which gets removed by translator and then the string does not match.

Definite answer could be given if you could put somewhere these two complete files...

Upvotes: 3

Related Questions