Answer the question
In order to leave comments, you need to log in
How can django detect the visitor's language on registration?
I use django-registration to register. Here a user came for the first time, for example, from Spain. The jango-registration supports localization for many languages, but how do you tell it which language to use for this user?
Answer the question
In order to leave comments, you need to log in
From browser headers.
It is absolutely impossible to determine by IP.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question