#35161: makemessages - make comments with line numbers look the same in all
operating systems
-------------------------------------+-------------------------------------
Reporter: אורי | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: | Version: dev
Internationalization |
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Natalia Bidart):
* status: new => closed
* cc: Claude Paroz (added)
* type: Uncategorized => Cleanup/optimization
* component: Uncategorized => Internationalization
* version: => dev
* resolution: => wontfix
Comment:
Hello Uri! Thanks for your report. I understand your issue and I'm sorry
you are running into these discrepancies, but there is little to nothing
that Django can do. Django uses GNU gettext to generate translations files
(po files), so it's really up to the tool how the .po files are generated.
Having said that, I do see that there is a `postprocess_messages` helper
in the `makemessages` command
([https://github.com/django/django/blob/main/django/core/management/commands/makemessages.py#L128
see source]), but in order to evaluate a possible change in this logic, we
would need community consensus. To that effect, you could consider
starting a new conversation on the
[https://forum.djangoproject.com/c/internals/i18n/14 Django Forum -
Internalization category], where you'll reach a wider audience and likely
get extra feedback.
I'll close the ticket for now, but if there is a community agreement for
this feature/change request, you are welcome to come back to the ticket
and point to the forum topic, so we can then re-open it. For more details,
please see
[https://docs.djangoproject.com/en/stable/internals/contributing/bugs-and-
features/#requesting-features the documented guidelines for requesting
features].
--
Ticket URL: <https://code.djangoproject.com/ticket/35161#comment:1>
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/0107018d651ecfb3-2acb96d5-03a9-407b-89a8-548de70c1fea-000000%40eu-central-1.amazonses.com.