Re: [Django] #9523: Restart runserver after translation MO files change

2014-06-26 Thread Django
#9523: Restart runserver after translation MO files change
--+
 Reporter:  wim@… |Owner:  bouke
 Type:  New feature   |   Status:  closed
Component:  Internationalization  |  Version:  master
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by Tim Graham ):

 In [changeset:"cbcb7c010bdc015c79b4b8a0ba2955abb23aee82"]:
 {{{
 #!CommitTicketReference repository=""
 revision="cbcb7c010bdc015c79b4b8a0ba2955abb23aee82"
 [1.7.x] Fixed #22857 -- Reset translations when only .mo file changed

 No need to restart the server when a translation file changes.
 Refs #9523. Thanks artscoop for the report and Tim Graham for
 the review.

 Backport of 0d363b25b8 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/074.648ec81d1443ea3d901950ab361b87c3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #9523: Restart runserver after translation MO files change

2014-06-26 Thread Django
#9523: Restart runserver after translation MO files change
--+
 Reporter:  wim@… |Owner:  bouke
 Type:  New feature   |   Status:  closed
Component:  Internationalization  |  Version:  master
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
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:"0d363b25b82b0a86b7243512470f364bef92bc3d"]:
 {{{
 #!CommitTicketReference repository=""
 revision="0d363b25b82b0a86b7243512470f364bef92bc3d"
 Fixed #22857 -- Reset translations when only .mo file changed

 No need to restart the server when a translation file changes.
 Refs #9523. Thanks artscoop for the report 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/074.4818841fae1050f88411b0aa4549df3c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #9523: Restart runserver after translation MO files change

2013-11-11 Thread Django
#9523: Restart runserver after translation MO files change
--+
 Reporter:  wim@… |Owner:  bouke
 Type:  New feature   |   Status:  closed
Component:  Internationalization  |  Version:  master
 Severity:  Normal|   Resolution:  fixed
 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 Aymeric Augustin ):

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


Comment:

 In [changeset:"2397daab4a1b95a055514b009818730f4dfc4799"]:
 {{{
 #!CommitTicketReference repository=""
 revision="2397daab4a1b95a055514b009818730f4dfc4799"
 Fixed #9523 -- Restart runserver after compiling apps translations

 Django also uses locales provided by apps, which also might change. Also
 when
 i18n is disabled, there is no need for watching translation files.
 }}}

-- 
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/074.f6aab885ede83c6f9596844c98ebd594%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #9523: Restart runserver after translation MO files change

2013-11-05 Thread Django
#9523: Restart runserver after translation MO files change
--+
 Reporter:  wim@… |Owner:  bouke
 Type:  New feature   |   Status:  new
Component:  Internationalization  |  Version:  master
 Severity:  Normal|   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 bouke):

 * version:  1.0 => 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/074.47f859f7c61c1d128ff875f2896aec57%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #9523: Restart runserver after translation MO files change

2013-11-05 Thread Django
#9523: Restart runserver after translation MO files change
--+
 Reporter:  wim@… |Owner:  bouke
 Type:  New feature   |   Status:  new
Component:  Internationalization  |  Version:  1.0
 Severity:  Normal|   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 bouke):

 * status:  closed => new
 * resolution:  fixed =>
 * needs_tests:  1 => 0


Comment:

 Translations in INSTALLED_APPS, which Django might use, are not being
 watched. By inspecting INSTALLED_APPS, this can be fixed.

 PR: https://github.com/django/django/pull/1878

-- 
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/074.ece8043a8ffbeed32be887bc670522c1%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #9523: Restart runserver after translation MO files change

2013-11-02 Thread Django
#9523: Restart runserver after translation MO files change
--+
 Reporter:  wim@… |Owner:  bouke
 Type:  New feature   |   Status:  closed
Component:  Internationalization  |  Version:  1.0
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  1 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by Aymeric Augustin ):

 In [changeset:"8b3d9d96ed8304d749c9056c42be89084d9b34aa"]:
 {{{
 #!CommitTicketReference repository=""
 revision="8b3d9d96ed8304d749c9056c42be89084d9b34aa"
 Merge pull request #1799 from Bouke/tickets/9523

 Fixed #9523 -- Restart runserver after translation MO files change
 }}}

-- 
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/074.f1cc533d96e19c84880dfadfbd5ef950%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #9523: Restart runserver after translation MO files change

2013-11-02 Thread Django
#9523: Restart runserver after translation MO files change
--+
 Reporter:  wim@… |Owner:  bouke
 Type:  New feature   |   Status:  closed
Component:  Internationalization  |  Version:  1.0
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  1 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by Bouke Haarsma ):

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


Comment:

 In [changeset:"c3936c0d79d79aced25ceba8beff0c91a6b5c2ed"]:
 {{{
 #!CommitTicketReference repository=""
 revision="c3936c0d79d79aced25ceba8beff0c91a6b5c2ed"
 Fixed #9523 -- Restart runserver after translation MO files change

 Thanks to Krzysztof Kulewski for the initial patch.
 }}}

-- 
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/074.af95fd9c3ab01c8c22ba712a47623ac4%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #9523: Restart runserver after translation MO files change

2013-11-02 Thread Django
#9523: Restart runserver after translation MO files change
--+
 Reporter:  wim@… |Owner:  bouke
 Type:  New feature   |   Status:  assigned
Component:  Internationalization  |  Version:  1.0
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  1 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by bouke):

 * status:  new => assigned
 * cc: bouke (added)
 * owner:  nobody => bouke


Comment:

 I've updated the PR and I included a few tests for the `gen_filenames`
 helper. The autoreloader is in the `omit` section of `.coveragerc`, so
 that's why there's no coverage at all.

-- 
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/074.7895c109c674487dcac582308a59a24f%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #9523: Restart runserver after translation MO files change

2013-10-23 Thread Django
#9523: Restart runserver after translation MO files change
--+
 Reporter:  wim@… |Owner:  nobody
 Type:  New feature   |   Status:  new
Component:  Internationalization  |  Version:  1.0
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  1 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by timo):

 * needs_tests:  0 => 1


Comment:

 I've left some comments on the [https://github.com/django/django/pull/1799
 rebased PR]. I'd like to see this tested in some way -- based on the
 coverage report, none of django/utils/autoreload.py is tested.

-- 
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/074.12578eae81525802d7319ac4153ddc7e%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #9523: Restart runserver after translation MO files change

2013-06-19 Thread Django
#9523: Restart runserver after translation MO files change
--+
 Reporter:  wim@… |Owner:  nobody
 Type:  New feature   |   Status:  new
Component:  Internationalization  |  Version:  1.0
 Severity:  Normal|   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 kulewski):

 * has_patch:  0 => 1


Comment:

 I provided a pull request fixing this issue:
 https://github.com/django/django/pull/1283

-- 
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/074.6bcb505be89c899b91acd6dcb2e01f5b%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #9523: Restart runserver after translation MO files change

2012-12-16 Thread Django
#9523: Restart runserver after translation MO files change
--+
 Reporter:  wim@… |Owner:  nobody
 Type:  New feature   |   Status:  new
Component:  Internationalization  |  Version:  1.0
 Severity:  Normal|   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 aaugustin):

 * stage:  Someday/Maybe => Accepted


Comment:

 I think this ticket should be "accepted".

 Malcolm's had two objections: it's low priority, and it isn't obvious to
 implement. But if someone writes a good patch, we'll certainly consider
 it.

-- 
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 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 https://groups.google.com/groups/opt_out.




Re: [Django] #9523: Restart runserver after translation MO files change

2012-09-13 Thread Django
#9523: Restart runserver after translation MO files change
-+-
 Reporter:  wim@…|Owner:  nobody
 Type:  New feature  |   Status:  new
Component:   |  Version:  1.0
  Internationalization   |   Resolution:
 Severity:  Normal   | Triage Stage:
 Keywords:   |  Someday/Maybe
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by charettes):

 * cc: charette.s@… (added)


-- 
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 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 https://groups.google.com/groups/opt_out.




Re: [Django] #9523: Restart runserver after translation MO files change

2012-09-13 Thread Django
#9523: Restart runserver after translation MO files change
-+-
 Reporter:  wim@…|Owner:  nobody
 Type:  New feature  |   Status:  new
Component:   |  Version:  1.0
  Internationalization   |   Resolution:
 Severity:  Normal   | Triage Stage:
 Keywords:   |  Someday/Maybe
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by bmihelac):

 * cc: bmihelac@… (added)


-- 
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 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 https://groups.google.com/groups/opt_out.




Re: [Django] #9523: Restart runserver after translation MO files change

2011-05-15 Thread Django
#9523: Restart runserver after translation MO files change
-+-
   Reporter:  wim@…  |  Owner:  nobody
   Type:  New| Status:  new
  feature|  Component:
  Milestone: |  Internationalization
Version:  1.0|   Severity:  Normal
 Resolution: |   Keywords:
   Triage Stage: |  Has patch:  0
  Someday/Maybe  |Needs tests:  0
Needs documentation:  0  |  Easy pickings:  0
Patch needs improvement:  0  |
-+-
Changes (by trebor74hr):

 * cc: trebor74hr@… (added)
 * easy:   => 0


-- 
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 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] #9523: Restart runserver after translation MO files change

2010-02-24 Thread Django
#9523: Restart runserver after translation MO files change
---+
  Reporter:  w...@adreswerk.nl  | Owner:  nobody
Status:  new   | Milestone:
 Component:  Internationalization  |   Version:  1.0   
Resolution:|  Keywords:
 Stage:  Someday/Maybe | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Comment (by trebor74hr):

 === Solution suggestion ===

 Whenever new translation is to be submitted django-admin compilemessages
 management command has to be called
 (http://docs.djangoproject.com/en/1.1/topics/i18n/localization/).
 If command
 
http://code.djangoproject.com/browser/django/trunk/django/core/management/commands/compilemessages.py
 issues at least one successful compiling (new version of mo is created) -
 it could
 "touch" some django python file - what should trigger django-dev server
 restart. The only issue is which file to touch, while it shouldn't be any
 file that user is editing in the meantime.

 btw. #4032 is closed ticket with the same issue.

-- 
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 post to this group, send email to django-upda...@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] #9523: Restart runserver after translation MO files change

2008-11-16 Thread Django
#9523: Restart runserver after translation MO files change
---+
  Reporter:  [EMAIL PROTECTED]  | Owner:  nobody
Status:  new   | Milestone:
 Component:  Internationalization  |   Version:  1.0   
Resolution:|  Keywords:
 Stage:  Someday/Maybe | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by mtredinnick):

  * needs_better_patch:  => 0
  * stage:  Unreviewed => Someday/Maybe
  * summary:  i18n - compilemessages => Restart runserver after translation
  MO files change
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 (Changed title to describe the problem.)

 This sounds like a fair bit of work for not a huge amount of gain. The
 filenames for the loaded translations aren't stored anywhere (and it would
 be complicating things to add them just for this request). So we end up
 having to check every single translation file to see if there's a change.

 Maybe somebody will come along and write a patch that doesn't chew up a
 lot of resources (file stats aren't too expensive if the dirents are
 already in buffer cache) and add that to the reload checker without
 introducing too much tight coupling, but it isn't going to be really high
 priority, I expect.

-- 
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 post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---