Re: [Django] #24413: Translations for language "en" missing

2015-02-28 Thread Django
#24413: Translations for language "en" missing
-+-
 Reporter:  ktosiek  |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:   |  Version:  1.8alpha1
  Internationalization   |
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Claude Paroz ):

 In [changeset:"c0df8d1be9890a7914c7942defbce636573a434e"]:
 {{{
 #!CommitTicketReference repository=""
 revision="c0df8d1be9890a7914c7942defbce636573a434e"
 [1.8.x] Fixed #24413 -- Prevented translation fallback for English

 Thanks Tomasz Kontusz for the report, Baptiste Mispelon for
 analysis and Tim Graham for the review.
 Backport of 3cf1c02695 from master.
 }}}

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.f18fd73f2d9dacec7ed704258dc8a46b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24413: Translations for language "en" missing

2015-02-28 Thread Django
#24413: Translations for language "en" missing
-+-
 Reporter:  ktosiek  |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:   |  Version:  1.8alpha1
  Internationalization   |
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Claude Paroz ):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"3cf1c02695481900cf6140f54beb48f0e7d88e19"]:
 {{{
 #!CommitTicketReference repository=""
 revision="3cf1c02695481900cf6140f54beb48f0e7d88e19"
 Fixed #24413 -- Prevented translation fallback for English

 Thanks Tomasz Kontusz for the report, Baptiste Mispelon for
 analysis and Tim Graham for the review.
 }}}

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.50b6cf9515214fe8a997f268f94569d5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24413: Translations for language "en" missing

2015-02-27 Thread Django
#24413: Translations for language "en" missing
-+-
 Reporter:  ktosiek  |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:   |  Version:  1.8alpha1
  Internationalization   |
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by timgraham):

 * stage:  Accepted => Ready for checkin


--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.919df2c12ec3c9dd0339291456067816%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24413: Translations for language "en" missing

2015-02-27 Thread Django
#24413: Translations for language "en" missing
-+-
 Reporter:  ktosiek  |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:   |  Version:  1.8alpha1
  Internationalization   |
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by claudep):

 * component:  Uncategorized => Internationalization


--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.af49f2a764cfe18df1cc892c2919c0f6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24413: Translations for language "en" missing

2015-02-27 Thread Django
#24413: Translations for language "en" missing
-+-
 Reporter:  ktosiek  |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Uncategorized|  Version:  1.8alpha1
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by claudep):

 * has_patch:  0 => 1


--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.165ed9781a9bdfb23b8026f417c3b3a4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24413: Translations for language "en" missing

2015-02-25 Thread Django
#24413: Translations for language "en" missing
-+-
 Reporter:  ktosiek  |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Uncategorized|  Version:  1.8alpha1
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by bmispelon):

 For reference, here's what I did to reproduce the issue:

 1) Start a new project with `djangoadmin startproject myproject`
 2) Change `LANGUAGE_CODE = 'pl'` in `myproject/settings.py`
 3) Edit `myproject/urls.py` to contain the following:
 {{{#!python
 from django.conf.urls import url
 from django.http import HttpResponse
 from django.utils import translation

 def index(request):
 translation.activate('en')
 return HttpResponse(translation.ugettext('username'))

 urlpatterns = [
 url(r'^$', index),
 ]
 }}}
 4) Start `runserver` and navigate to the root URL

 When doing that, you'll see that the string `'username'` remains
 translated to Polish (I believe that's the issue being reported here)

 You'll note that using `translation.activate('en-us')` in the view makes
 the correct translation appear again.

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.fdc9293142000a4a8bc463663c7290b5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24413: Translations for language "en" missing

2015-02-25 Thread Django
#24413: Translations for language "en" missing
-+-
 Reporter:  ktosiek  |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Uncategorized|  Version:  1.8alpha1
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by bmispelon):

 * needs_docs:   => 0
 * needs_better_patch:   => 0
 * severity:  Normal => Release blocker
 * needs_tests:   => 0
 * stage:  Unreviewed => Accepted


Comment:

 Hi,

 I think I can reproduce this locally but I haven't managed to build a
 failing test case yet.

 Doing some manual bisecting, it seems that
 a5f6cbce07b5f3ab48d931e3fd1883c757fb9b45 introduced the regression.

 I'm bumping to "Release blocker" since it's a regression from 1.7.

 Thanks!

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.f410e224708ebe22ed9bb9151d7931ed%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #24413: Translations for language "en" missing

2015-02-25 Thread Django
#24413: Translations for language "en" missing
---+---
 Reporter:  ktosiek|  Owner:  nobody
 Type:  Bug| Status:  new
Component:  Uncategorized  |Version:  1.8alpha1
 Severity:  Normal |   Keywords:
 Triage Stage:  Unreviewed |  Has patch:  0
Easy pickings:  0  |  UI/UX:  0
---+---
 It seems translations for "en" are missing, which gives wrong results for
 LANGUAGE_CODE != 'en'.

 I have LANGUAGE_CODE = 'pl', use the i18n/setlang/ view to set my current
 language to 'en', and visit a login page based on
 django.contrib.auth.forms.AuthenticationForm. Field labels are still in
 polish, but the strings the I've explicitly translated are in english. I
 expected the labels to use english versions, but looking here
 
https://github.com/django/django/blob/master/django/contrib/auth/locale/en/LC_MESSAGES/django.po
 it looks like none of those are actually provided (so Django falls back to
 LANGUAGE_CODE).

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.3453a0e2ca523da88c57fea3211477f7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.