django i18n_patterns hide default lang_code from url
I'm using the i18n_patterns to add a prefix of current lang_code to my url. urlpatterns += i18n_patterns('', url(r'^', include('blaszczakphoto2.gallery.urls')), ) It allowes me to get urls like /en/about-us/ , /pl/about-us/ etc.. My default language is pl LANGUAGE_CODE = 'pl' I want url like /about-us/ for clients viewing my site in polish lenguage. Is there any way to hide lang_code prefix from url for default lang_code? stalk Here is a very simple package: django-solid-i18n-urls After setup, urls without language prefix will always use default language, that is specified in settings.LANGUAGE