Opened 2 years ago

Last modified 2 years ago

#34120 closed Bug

Changing translations of model options and attributes is not detected as change in making migrations — at Initial Version

Reported by: Sajjad Sanikhani Owned by: nobody
Component: Migrations Version: 4.1
Severity: Normal Keywords: Translation, Migrations, Models, Locale
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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.

Change History (0)

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