Django i18n default language without path prefixes

前端 未结 3 803
执笔经年
执笔经年 2020-12-05 11:05

I have an existing multi-lingual Django app that I\'m porting to Django 1.4. I18n support is currently based on some ugly hacks, I\'d like to make it use Django\'s built-in

3条回答
  •  北海茫月
    2020-12-05 12:00

    I used solid-i18n-url to solve similar problem: https://github.com/st4lk/django-solid-i18n-urls

    Nice description how it works located here: http://www.lexev.org/en/2013/multilanguage-site-django-without-redirects/

提交回复
热议问题