#34120: Changing translations of model options and attributes is not detected as
change in making migrations
-------------------------------------+-------------------------------------
Reporter: Sajjad | Owner: nobody
Sanikhani |
Type: Bug | Status: new
Component: | Version: 4.1
Migrations | Keywords: Translation,
Severity: Normal | Migrations, Models, Locale
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
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.
--
Ticket URL: <https://code.djangoproject.com/ticket/34120>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/010701840f6b4056-5a24d339-cc85-49a3-8a56-e86dd3d32335-000000%40eu-central-1.amazonses.com.