Re: [Django] #16718: check_for_language fails when django are imported from zip file
#16718: check_for_language fails when django are imported from zip file --+-- Reporter: jsantana@…|Owner: nobody Type: Bug | Status: closed Component: Translations | Version: 1.2 Severity: Normal| Resolution: duplicate Keywords: egg zip | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 |UI/UX: 0 --+-- Changes (by wiml@…): * keywords: => egg zip Comment: Replying to [comment:1 aaugustin]: > it's a duplicate of #596. I think it is actually a duplicate of #8280. The Django installation docs make reference to installing as an egg, there are various accepted patches for running from a zip file (eg #8238 and the aforementioned #8280), and apparently it is (was?) the preferred (only?) way to run Django on Google App Engine. - see https://developers.google.com/appengine/articles/django10_zipimport as well as other comments in those bugs. -- Ticket URL: <https://code.djangoproject.com/ticket/16718#comment:2> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.
Re: [Django] #16718: check_for_language fails when django are imported from zip file
#16718: check_for_language fails when django are imported from zip file --+-- Reporter: jsantana@… | Owner: nobody Type: Bug | Status: closed Milestone: | Component: Translations Version: 1.2 | Severity: Normal Resolution: duplicate | Keywords: Triage Stage: Unreviewed | Has patch: 0 Needs documentation: 0 |Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | --+-- Changes (by aaugustin): * status: new => closed * needs_better_patch: => 0 * resolution: => duplicate * needs_tests: => 0 * needs_docs: => 0 Comment: Django can't be packaged as a Python egg, in particular because it's hard to retrieve the templates and translation files. If I understand correctly, by "importing from a zipfile", you mean "running from an egg", so it's a duplicate of #596. -- Ticket URL: <https://code.djangoproject.com/ticket/16718#comment:1> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.
[Django] #16718: check_for_language fails when django are imported from zip file
#16718: check_for_language fails when django are imported from zip file +-- Reporter: jsantana@… | Owner: nobody Type: Bug | Status: new Milestone: | Component: Translations Version: 1.2 | Severity: Normal Keywords: | Triage Stage: Unreviewed Has patch: 0 | Easy pickings: 0 UI/UX: 0 | +-- If you import django from a zip file and some i18n utils fail (i.e django.views.i18n.javascript_catalog) Steps: 1. import django as zip file 2. setup a javascript translation different from default with some strings, i.e locale/es/LC_MESSAGES/djangojs.{po,mo} 3. setup javascript_catalog view 4. make a request like http://server/i18n/?language=es - expected result: spanish catalog should be returned in javascript file - result: default language catalog is returned in javascript file -- Ticket URL: <https://code.djangoproject.com/ticket/16718> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.