Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

url translations

I can't get the new ASKBOT_TRANSLATE_URL to work. After setting LANGUAGE_CODE = 'de', I expected that all urls will be either all translated or all not translated.

The question url is ok:

  • /question/xyz for ASKBOT_TRANSLATE_URL=False, or
  • /frage/xyz for True.

But the ajax vote url is some half-translated hybrid, in both cases: askbot['urls']['vote_url_template'] = scriptUrl + 'fragen/{{QuestionID}}/vote/';.

And then the POST of course fails, in both cases. You said you're reworking the language stuff now -- is this some work-in-progress, or am I doing it wrong?

url translations

I can't get the new ASKBOT_TRANSLATE_URL to work. work, using the current master branch. After setting LANGUAGE_CODE = 'de', I expected that all urls will be either all translated or all not translated.

The question url is ok:

  • /question/xyz for ASKBOT_TRANSLATE_URL=False, or
  • /frage/xyz for True.

But the ajax vote url is some half-translated hybrid, in both cases: askbot['urls']['vote_url_template'] = scriptUrl + 'fragen/{{QuestionID}}/vote/';.

And then the POST of course fails, in both cases. You said you're reworking the language stuff now -- is this some work-in-progress, or am I doing it wrong?

url translations

I can't get the new ASKBOT_TRANSLATE_URL to work, using the current master branch. After setting LANGUAGE_CODE = 'de', I expected that all urls will be either all translated or all not translated.

The question url is ok:

  • /question/xyz for ASKBOT_TRANSLATE_URL=False, or
  • /frage/xyz for True.

But the ajax vote url is some half-translated hybrid, in both cases: askbot['urls']['vote_url_template'] = scriptUrl + 'fragen/{{QuestionID}}/vote/';.

And then the POST of course fails, in both cases. cases, so ppl cannot vote. You said you're reworking the language stuff now -- is this some work-in-progress, or am I doing it wrong?