Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This option currently only toggles translation of urls in the file.

To do this properly - the check for the ASKBOT_TRANSLATE_URL condition must be added to the templates as well. There are a few places where urls are not inserted into the templates using the {% url %} template tag, that's because the "reverse" function in some cases must be run by javascript, but there is no equivalent for it in js. So we need to solve this problem somehow.

A workaround is - modify all url translations in the django.po and djangojs.po files - anything that has slashes in the key strings, there are not too many of them actually. If you mark those strings as "fuzzy", the translations will be disabled.