#22633: LANGUAGE_CODE should be automatically set based on system locale
--------------------------------------+--------------------
     Reporter:  hakanw                |      Owner:  nobody
         Type:  Uncategorized         |     Status:  new
    Component:  Internationalization  |    Version:  1.6
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+--------------------
 Many other frameworks (like Wordpress) make a good job of using the user's
 language when you set them up. In many countries, for example some
 european countries where people are generally not english speaking, this
 is a really important first impression.

 I propose that the settings.py should set LANGUAGE_CODE to the user's
 locale, if:

 1) We find a locale on the system
 2) The locale is matched by the list of locales supported by django

 If not, we can fall back to the normal en-us.

 In addition (but this is more like a bonus thing), since USE_TZ is always
 set to True by default, I think it would be cool to set the TIME_ZONE
 variable to the user's time zone, but this might be better spun off as
 another ticket.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22633>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.b3e123b308f5e894fb6e4971e2518f04%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to