Why does Askbot translate only partially?

asked 2014-03-05 00:24:00 -0500

michas's avatar

updated 2014-03-05 00:31:44 -0500

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

For example in the header the text


changed to


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:

        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?

edit retag flag offensive close merge delete


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 -0500 )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 -0500 )edit