#17181: Allow for specifying multiple locales and domains for makemessages and
compilemessages commands
-------------------------------------+-------------------------------------
Reporter: aminland | Owner: jakul
Type: New feature | Status: closed
Component: | Version: 1.3
Internationalization | Resolution: fixed
Severity: Normal | Triage Stage: Accepted
Keywords: i18n makemessages | Needs documentation: 0
compilemessages | Patch needs improvement: 0
Has patch: 1 | UI/UX: 0
Needs tests: 0 |
Easy pickings: 1 |
-------------------------------------+-------------------------------------
Changes (by ramiro):
* status: new => closed
* resolution: => fixed
* stage: Fixed on a branch => Accepted
Comment:
Initial plan was to split the work for the features proposed in the PR in
two parts:
a. Add support for multiple locales to makemessages and compilemessages
(already done)
b. Add support for multiple gettext domains to makemessages
Regarding feature b:
I found the proposed patch/PR is buggy regarding handling of multiple
domains and the file extensions to be processed as pertaining to each one
of these domains. Found this while adding tests for the functionality that
were missing from the PR.
IMO the new functionality isn't worth the trouble both in terms of support
code (relatively simple) and in terms of the command line switches UI
needed to allow the user to express arbitrary combinations of domains plus
their sets of file extensions.
Conclusion: I'm closing this ticket as fixed having only implemented
feature a.
--
Ticket URL: <https://code.djangoproject.com/ticket/17181#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.