1. Carl Meyer
  2. django-localeurl
  3. Issues
Issue #31 duplicate

more fine grain language recognition

scrapper
created an issue

hello Carl,

thanks for working on django-localeurl great app!

I think we need to add one more little language recognition adjustment to make it work correctly. We need to add a filter option which checks on rule importance:


if no locale is provided in the URL -> LOCALEURL_USE_ACCEPT_LANGUAGE rules.

if no locale is provided in the URL(which is the case, when linking from other apps in the beginning.), but there is already a language in the session than this should overrule the 1) which right now seems not to happen. It still false back to LOCALEURL_USE_ACCEPT_LANGUAGE rule.

I hope I did not make any mistake.

Thank you very much! * sc

Comments (1)

  1. Log in to comment