The command makemessages should avoid files inside the locale dir when --all option is specified
|Reported by:||diegobz||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
This patch makes the makemessages management command *see only directories* under the locale path when --all is specified.
Right now Django does not allow to have anything else than directories for languages at that directory. Otherwise it is very important
to have an option to put files there, because some projects might want to have a LINGUAS file.
The LINGUAS file is very useful because that's a way how translators tell the maintainers that a specific language is ready to be used.
Usually the LINGUAS file is updated by the translators themselves and it means that file should be at the same directory where they have
access to commit their translations. Usually 'locale/*'.
Change History (7)
Changed 5 years ago by diegobz
comment:1 Changed 5 years ago by jezdez
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Design decision needed
comment:3 Changed 5 years ago by mtredinnick
- milestone set to 1.1
- Triage Stage changed from Design decision needed to Accepted