--
Ticket URL: <https://code.djangoproject.com/ticket/34120>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Old description:
> After writing my models with its options, I made migrations.\\
> Then I changed translation of model verbose name in *.po file and
> compiled it.\\
> After that I supposed that executing makemigrations, add new migration
> file that contains new translated verbose name of that model. But it is
> not happened.\\
> This problem is only with gettext_lazy, because this function return
> reference of translation in lazy mode. Thus it is not detected as change.
New description:
After writing my model with its options, I made migrations.\\
Then I changed translation of model verbose name in *.po file and compiled
it.\\
After that I supposed that executing makemigrations, add new migration
file that contains new translated verbose name of that model. But it is
not happened.\\
This problem is only with gettext_lazy, because this function return
reference of translation in lazy mode. Thus it is not detected as change.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/34120#comment:1>
* status: new => closed
* resolution: => invalid
Comment:
The migration system doesn't consider translations. It's done by design,
as translations shouldn't affect the database structure.
--
Ticket URL: <https://code.djangoproject.com/ticket/34120#comment:2>