#24739: 1.7 => 1.8 i18n behaviour change
--------------------------------------+--------------------
     Reporter:  drakkan               |      Owner:  nobody
         Type:  Uncategorized         |     Status:  new
    Component:  Internationalization  |    Version:  1.8
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+--------------------
 I updated from 1.7 to 1.8

 in my templates and python code I have string in my native language
 (italian),

 so my po files look likes this:

 1) locale en

 msgid "original string in italian"
 msgstr "english translated string"

 2) locale it

 msgid "original string in italian"
 msgstr ""

 now in settings I have:

 LANGUAGE_CODE = 'en'

 my browser is in italian so request.LANGUAGE_CODE is "it"

 in django <1.8 the fallback translation is taken from the it po file, in
 django 1.8+ en translation is used since my default LANGUAGE_CODE is "en",
 if I set LANGUAGE_CODE to "it"  the fallback string from it po file is
 used

--
Ticket URL: <https://code.djangoproject.com/ticket/24739>
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/050.9c1c6e8e718a5c4f909f3228e881c42f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to