Why does Askbot translate only partially?

I switched LANGUAGE_CODE from en to de. Now Askbot is half English and half German.

For example in the header the text

ALL UNANSWERED FOLLOWED

changed to

ALLE UNANSWERED BEOBACHTETE

Here ALL and FOLLOWED translate correctly, while UNANSWERED did not change at all.

The corresponding code in scope_nav.html looks like this:

    >{% trans %}ALL{% endtrans %}</a>
    >{{ settings.WORDS_UNANSWERED|escape }}</a>
    >{% trans %}FOLLOWED{% endtrans %}</a>

The definition of WORDS_UNANSWERED in conf/words.py reads:

settings.register(
    values.StringValue(
        WORDS,
        'WORDS_UNANSWERED',
        default = _('UNANSWERED'),
        description = _('UNANSWERED'),
    )
)

Question: Why is the UNANSWERED case handled different that the ALL and FOLLOWED case? Shouldn't the UNANSWERED be translated nevertheless?

UPDATE: Another local installation of Askbot translates perfectly fine. Could you think of any configuration error resulting in such a behavior?

michas's avatar
46
michas
asked 2014-03-05 00:24:00 -0600, updated 2014-03-05 00:31:44 -0600
edit flag offensive 0 remove flag close merge delete

Comments

Hi, I am also encountering the problem you mentioned. How did you install the two versions? Is one via git and one via pip? I also can confirm many not translated strings in a pip-installation. Also on https://www.transifex.com/projects/p/askbot/ it says that German is 100% translated.

contradictioned's avatar contradictioned (2014-03-08 12:12:15 -0600) edit

What "two versions" are you talking about? I installed askbot directly from the git repository. There is a correct translation available for "UNANSWERD", but for some reason it is not used.

michas's avatar michas (2014-03-08 14:29:16 -0600) edit
add a comment see more comments