Opened 8 years ago

Closed 8 years ago

#7520 closed (duplicate)

Detailed make-messages behavior

Reported by: Mihai Damian Owned by: Jannis Leidel
Component: Internationalization Version: master
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: UI/UX:

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 Changed 8 years ago by Marc Fargas

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)

comment:2 in reply to:  1 Changed 8 years ago by Mihai Damian

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

comment:3 Changed 8 years ago by Ramiro Morales

Resolution: duplicate
Status: newclosed

Duplicate of #5463

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