--
Ticket URL: <https://code.djangoproject.com/ticket/29151>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by Tim Graham):
I'm not sure how aliasing a function could change its behavior. Are you
sure you haven't made a mistake in your project? Can you provide a failing
test (tests/i18n/tests.py) or a sample project that demonstrates the
issue?
--
Ticket URL: <https://code.djangoproject.com/ticket/29151#comment:1>
* status: new => closed
* resolution: => invalid
Comment:
This is a [https://docs.djangoproject.com/en/dev/topics/i18n/translation
/#standard-translation limitation of xgettext],
> Because of how xgettext (used by makemessages) works, only functions
that take a single string argument can be imported as _``:
> * `gettext()`
> * `gettext_lazy()`
--
Ticket URL: <https://code.djangoproject.com/ticket/29151#comment:2>