Re: Django multilingual app, urls

2007-05-25 Thread Thomas Rabaix
I have done a similar work. What I have done so far : - use the LocaleURLMiddleware from contribution page - add a new variable in the context {{LANGUAGE_CODE}} - change the ereg in my urls.py '^([a-z]{,2}/|)news/$' I have in mind to : - hack the url tag to add the language code. - find

Django multilingual app, urls

2007-05-25 Thread Eugene Morozov
Hello, I'm creating Django multilingual app using django-multilingual and homebrew middleware. My middleware is similar to Django LocaleMiddleware but it doesn't perform language negotiation (because search engines doesn't perform language negotiations and I need to provide them with a way to inde