First time here? Check out the FAQ!

Local installation whithout language switch

  • retag add tags

I install askbot locally following this instructions but i can't find the top language switch

Katy23's avatar
asked 2011-05-28 04:51:53 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

2 Answers


It doesn't work for me, I installed it and added localeurl to the installed apps and when I run it, I get the error :

 AttributeError at /en/questions/
'NoneType' object has no attribute 'endswith'

Exception Location: /.../lib/python2.6/ in join, line 67
Python Executable:  /.../bin/python
Python Version: 2.6.7

Can you help me please?

Edit: I found out that my problem was linked to my database. Now there is no more errors but my new problem is that when I click on any link, it tries to go to domain/en/page. The problem is that the server says the page doesn't exists (404 error). If I just remove the /en (domain/en/page -> domain/page), it works but there is still not the translation bar... I guess something is missing in my settings but I don't know what... Can you help please?

Cedric's avatar
updated 2011-10-06 07:04:45 -0500, answered 2011-10-06 04:04:08 -0500
edit flag offensive 0 remove flag delete link


add a comment see more comments


Hello, I have posted a branch on github.

git clone git://
cd askbot-devel
git fetch origin askbot-site
git checkout askbot-site

Then you'll have the multilingual code. There will be one more required app called localeurl, available here

Evgeny's avatar
updated 2011-06-17 16:10:18 -0500, answered 2011-05-28 05:45:28 -0500
edit flag offensive 0 remove flag delete link


ok :). thanks
Katy23's avatar Katy23 (2011-05-28 05:57:12 -0500) edit
any news? :)
Katy23's avatar Katy23 (2011-06-16 09:27:58 -0500) edit
I will push the askbot site repository today to the github, will you use it?
Evgeny's avatar Evgeny (2011-06-16 13:16:46 -0500) edit
Evgeny's avatar Evgeny (2011-06-16 13:29:14 -0500) edit
I install the latest version of askbot now but i can't see the top language switch...
Katy23's avatar Katy23 (2011-06-17 15:51:54 -0500) edit
add a comment see more comments