First time here? Check out the FAQ!

olduser's profile - activity

2015-03-01 18:03:51 -0600 received badge Teacher ( source )
2015-03-01 18:03:51 -0600 received badge Necromancer ( source )
2014-03-30 10:19:32 -0600 answered a question When will Django-1.6 be supported?

You can use Django 1.5.5 without errors, here's the output of manage.py runserver

0 errors found
March 30, 2014 - 09:48:16
Django version 1.5.5, using settings 'askbot.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

but there are some deprecations warnings that must be resolved before upgrading to 1.6.:

  • django.conf.urls.defaults is deprecated; use django.conf.urls instead
  • django.utils.simplejson is deprecated; use json instead
  • The 'execute_manager' function is deprecated, you likely need to update your 'manage.py'; please see the Django 1.4 release notes (https://docs.djangoproject.com/en/dev/releases/1.4/).
  • ...

I send a pull request to that effect: https://github.com/ASKBOT/askbot-devel/pull/227 (use django.conf.urls instead of django.conf.urls.defaults).

2014-02-10 16:46:00 -0600 commented question Translation of `words.py` file

I tried to update the django.po file(and regenerate the .mo files) in the locale directory, and it works(after removing the `#, fuzzy` line).

2014-02-09 16:39:19 -0600 asked a question Translation of `words.py` file

It seems that the file words.py containing such:

Please feel free to ask your question!

in the home page can't be translated in transifex because the django.po file isn't updated for french language(and neither for other languages it seems).

Does a translator can update po files in transifex using the updated po file generated by:manage.py jinja2_makemessages --locale=fr or a simple translator has no such rights.

2014-02-01 05:27:39 -0600 commented answer How translate live search?

I've opened an issue on Github with a modification of the `live_search.js` script https://github.com/ASKBOT/askbot-devel/pull/204. The new var InpuToolTip function works for french without any modifications of the `.po` and `.mo` files, It seems to work with other languages too.

2014-01-31 08:47:34 -0600 received badge Editor ( source )
2014-01-31 08:30:57 -0600 answered a question How translate live search?

Hi, I'm trying to use Askbot in french and I have problems with the livesearch default text. The text translated in lines 133-135 in the djangojs.po file isn't used:

#: media/js/live_search.js:313
msgid "search or ask your question"
msgstr "rechercher ou poser votre question"

So I should I've prompted in the input:"rechercher ou poser votre question", but the text shown is "search or poser votre question" which is a concatenation done in livesearch.js in lines 313-321

var InputToolTip = function() {
    WrappedElement.call(this);
    this._promptText = interpolate(
    gettext('search or %(ask_your_question)s'),
    {'ask_your_question': askbot['messages']['askYourQuestion'].toLowerCase() },
    true
    );
};
inherits(InputToolTip, WrappedElement);

This javascript code is using a translation made in lines 123-125 in the djangojs.po file:

#: media/js/live_search.js:218
msgid "Ask Your Question"
msgstr "Poser votre question"

The only way I found to get the correct translation is to change the var InputToolTip function and then regenerate the translations files.

2014-01-27 09:11:02 -0600 received badge Enthusiast