Opened 17 years ago
Closed 17 years ago
#7520 closed (duplicate)
Detailed make-messages behavior
Reported by: | Mihai Damian | Owned by: | Jannis Leidel |
---|---|---|---|
Component: | Internationalization | Version: | dev |
Severity: | Keywords: | make-messages, internationalization, i18n | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Right now the i18n documentation states that make-messages.py "runs over the entire Django source tree [or project,application] and pulls out all strings marked for translation". What the documentation fails to point out is that strings are only searched for in .py and .html files. A few people, including myself, have had problems with not noticing this behavior. My suggestion is pointing out this gotcha in the documentation.
Change History (3)
follow-up: 2 comment:1 by , 17 years ago
Component: | Documentation → Internationalization |
---|---|
Owner: | changed from | to
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 17 years ago
Having a parameter would be most desirable. Otherwise I would have to tinker with make-messages.py
jezdez has somethings about make-messages on his to do. I'll assign this to him to see if he wants to deal with it.
Also, maybe it'd be nicer to have a parameter "--include-extensions=html,py" to allow users to specify extensions to check. (i.e.: If you have mail templates you'd like to have .txt scanned)