Need to support KDE like translation context
Bug #3990 reported by
Matthias Klose
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Данило Шеган |
Bug Description
KDE (and other projects) are using lines starting with '_:' to give context to translators so they can translate a string differently depending on where is it being used.
They have its own solution because gettext lacked such functionality until version 0.15.
We should add support for it in Rosetta automatically instead of show the raw msgid that confuses to the user.
Changed in rosetta: | |
status: | New → Accepted |
Changed in rosetta: | |
importance: | Medium → High |
description: | updated |
Changed in rosetta: | |
assignee: | nobody → danilo |
Changed in rosetta: | |
assignee: | danilo → carlos |
Changed in rosetta: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Seems to me this is an OO-specific extension to the PO format. Bug #6034 describes a more standard way of achieving this which we're planning to support. Perhaps rather than supporting the OO extension, we could write a tool to convert the PO files to standard form and back again, since I think we're going to need to do OO conversions by hand anyway. Perhaps the OO people should be told about msgctxt so that they can adopt it when appropriate.