Opened 2 years ago

Last modified 7 weeks 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: 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:1 Changed 2 years ago by vegitron

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

comment:2 Changed 2 years 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 22 months 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 7 weeks ago by sergeykolosov

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