#34021: collect_translations
-------------------------------------+-------------------------------------
Reporter: Mahdi | Owner: nobody
Firouzjah |
Type: New | Status: new
feature |
Component: | Version: 4.0
Internationalization | Keywords: translation
Severity: Normal | contextual-markers
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
according to a situation that I had some texts and words marked for
translation that tey were also used in some djnago apps as well. my
LOCALE_PATH was set to the root of project and all the marked strings were
collected there but the ones in common with django apps were not
translated according to what I provided and instead they were following
django's translation.
so it seems that inorder to fix this conflict I have to use
[https://docs.djangoproject.com/en/4.1/topics/i18n/translation
/#contextual-markers contextual-markers], both in python files and
templates but there are so many strings and it is possible to miss some.
so I'm requesting a feature like `collectstatic` so to collect all the
translation marked strings of all apps(django's default apps, user defined
apps, third party packages, etc.) in a specified path so to have more
control over what is going on.
--
Ticket URL: <https://code.djangoproject.com/ticket/34021>
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/010701834ba300f6-05624963-4a4d-4718-b93d-c7f47897159c-000000%40eu-central-1.amazonses.com.