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)

comment:1 by Marc Fargas, 17 years ago

Component: DocumentationInternationalization
Owner: changed from nobody to Jannis Leidel
Triage Stage: UnreviewedAccepted

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)

in reply to:  1 comment:2 by Mihai Damian, 17 years ago

Having a parameter would be most desirable. Otherwise I would have to tinker with make-messages.py

comment:3 by Ramiro Morales, 17 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #5463

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