Page MenuHomePhabricator

Support for editing the translator comment in gettext messages
Closed, DeclinedPublic

Description

Author: lasse.liehu

Description:
It would be nice to be able to edit the translator comments consisting of lines starting with '# ' in gettext messages.


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=45831

Details

Reference
bz45855

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:27 AM
bzimport set Reference to bz45855.
bzimport added a subscriber: Unknown Object (MLST).

Yes, I understand it would be nice. However, those comments ideally come from the source code, and the translation platform is really something different from being able to edit the source code.

I'm closing this as WONTFIX, because it's out of scope.

lasse.liehu wrote:

Sorry I didn't make it clear earlier, but I meant uses of the field that are language specific. Not the documentation that should be in the source code.

This includes writing down the reasons for why the current translation for a specific message was done the way it was done or why the translation is currently the way it is.

I understand that most of them should probably ideally be instead written in change summaries (at least in the old UI; don't know about the new UX). And also that term choices should probably ideally be documented in glossaries when they are available.

Besides that I guess the only use case I had in mind was including comments for use with external tools. Like in KDE two language teams use the translator comment field to add properties to messages. The properties are then gathered from PO files to property map files, which are then distributed with the PO files.[1] The properties can then be accessed from other messages using a certain syntax. The properties can be different noun cases, conjugations and anything arbitrary.

Having now thought more about this, this could complicate things more than it would be worth. Sorry for the noise.

[1] http://pology.nedohodnik.net//doc/user/en_US/index-mono.html#sv-collect-pmap