st4lk / django-solid-i18n-urls

[DEPRECATED] Use default language for urls without language prefix.
http://www.lexev.org/en/
Other
112 stars 29 forks source link

thanks #45

Closed andreasnuesslein closed 1 year ago

andreasnuesslein commented 1 year ago

thanks,

Starting from [Django 1.10 (https://docs.djangoproject.com/en/dev/releases/1.10/#internationalization), built-in i18n_patterns accept optional argument prefix_default_language. If it is False, then Django will serve url without language prefix by itself. Look [docs] https://docs.djangoproject.com/en/dev/topics/i18n/translation/#django.conf.urls.i18n.i18n_patterns) for more details.

this helped :)