#32356: Add url argument to translate tag
-------------------------------------+-------------------------------------
Reporter: Peter Bittner | Owner: nobody
Type: New feature | Status: closed
Component: | Version: master
Internationalization |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Peter Bittner):
Fair enough, adding a comment is nice. But isn't this too generic?
If you know the translation industry a little bit you may be aware that
very few or probably no-one will use the PO files directly. Hence, it's at
the mercy of the translation tool to use the information captured in
''extracted-comments'', ''reference'' and ''flag'' comment fields and the
''msgctxt'' fields.
Also, just to understand the motivation for the comment implementation
better, why would I prefer a "Translators:" prefixed comment over the
dedicated ''msgctxt''? Can you give an example?
The ''reference'' type of comments are already dedicated to referring to
specific locations (namely source file locations, which can easily be
turned into hyper reference links on a Web UI). It would be natural for
tools to extend the linking / link detection to actual URLs coming from
the PO files. We can't assume the same for comments. The nature of
comments is too generic.
--
Ticket URL: <https://code.djangoproject.com/ticket/32356#comment:4>
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/065.f19c46e9da30819a134ba6a6a89f1dfc%40djangoproject.com.