piskvorky/askbot-devel — comment on commit 3fa769cda8dfa127fa42f0af87d77dce75ee0a47
File:  line 0
By evgenyfadeev:

Hey this is not really a fix, b/c with ASKBOT_TRANSLATE_URL = False this will break this url.

I think this could be implemented with a custom template filter - let's say {{ 'question/' | askbot_trans_url }}{{ '{{QuestionID}}/{{questionSlug}}' }},

where the askbot_trans_url would either do the translation, or not, depending on the value of setting.
Unfortunately in this case the string 'question/' will not be pulled out for translation (but it is probably pulled from somewhere else anyway).

Alternatively, maybe a custom tag could be created - similar to trans, and then we could modify the management command jinja2_makemessages to pull out those strings as well.