Re: Django makemessages is marking translated strings as fuzzy

218 views
Skip to first unread message

Ramiro Morales

unread,
Feb 12, 2013, 10:12:26 AM2/12/13
to django...@googlegroups.com
On Tue, Feb 12, 2013 at 10:08 AM, Mohammad Abbas
<mohammad...@gmail.com> wrote:
> I am having issues with the Django makemessages management command. It seems
> like it is randomly marking messages as fuzzy 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?

OOps, that'svery strange and awkward. Tools shoudn't be automatically
changing content nor properties of translations written by a human translator.

Unfortunately I have no idea what could be happening.

Please tell us which version of Django, GNU gettext tools and OS you are using.
and keep us posted about if/how you manage to reproduce this.

Have you been able to identify if it happens with literals extracted from
(only, any, all of) Python files?, JS files?, template files?

One hypothesis: Is it possible "Save Changes" also appears as the
singular literal of a singular/plural construct (ungettext() calls or
{% blocktrans %}...{% plural %}...{% endblocktrans %} tags)?

--
Ramiro Morales
@ramiromorales
Reply all
Reply to author
Forward
0 new messages