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
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
2 matches
Mail list logo