Opened 5 years ago

Last modified 3 years ago

#22016 new New feature

Automatically reload i18n files on change, when DEBUG is True

Reported by: Patrick Michaud Owned by: Patrick Michaud
Component: Internationalization Version: master
Severity: Normal Keywords:
Cc: m17.admin@… Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no


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 (4)

comment:2 Changed 5 years ago by Tim Graham

Triage Stage: UnreviewedAccepted
Version: master

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

comment:3 Changed 5 years ago by merb

Patch needs improvement: set

you forget to link the PR:
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.

comment:4 Changed 3 years ago by Sergey Kolosov

Cc: m17.admin@… added
Note: See TracTickets for help on using tickets.
Back to Top