Opened 16 months ago

Last modified 10 months ago

#22016 new New feature

Automatically reload i18n files on change, when DEBUG is True

Reported by: vegitron Owned by: vegitron
Component: Internationalization Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

It would make things easier for our text editors if they didn't need to run compilemessages to see their changes on their builds. This would need to cover python translation, templates, and the javascript catalog. This would create parity between seeing text changes and seeing python changes.

This is similar to #9523, only I'd like to have a check for compilation when translations are used.

I have a patch that has unit tests, and implements changes in trans_real and in the javascript_catalog. I'll send a pull request after my CCLA is sent in.

Change History (3)

comment:1 Changed 16 months ago by vegitron

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 13 months ago by timo

  • Triage Stage changed from Unreviewed to Accepted
  • Version set to master

I'm not very familiar with translations, but this seems like a reasonable request.

comment:3 Changed 10 months ago by merb

  • Patch needs improvement set

you forget to link the PR: https://github.com/django/django/pull/2421
Currently your patch needs to be updated, could you do that?

Also it would be great if you add some small docstrings to your tests.

Note: See TracTickets for help on using tickets.
Back to Top