Open rvanlaak opened 7 years ago
I like the ability of a support function. This is however only a xliff feature. But xliff is the standard =)
👍
To implement this we need to make changes to the CatalogueManager and the CatalougeMessage. If the translation is approved or not will go in the meta flag on the Common\Message so third party adapters may reach it
If we can agree on the technical specs / changes, I'd like to help with the implementation right away 👍
One UI thing I mentioned already is that the web UI uses colors, but I think they are related to the completion percentage (?). These colors should change: gray or red is missing, green is approved, yellow is not approved yet.
Make many smaller PRs, they are easier to review and agree upon. Start with just adding this support to the CatalogueManager end CatalogueMessage.
Then you may make two more PRs, one for WebUI and one for EditInPlace.
I first need to finish our migration to xliff
, so I can probably start working on this in the beginning of next week.
FYI. Using symfony-storage 0.3.0 will allow storing "approved".
@Nyholm any status update on the symfony-storage? Did it get any additional features that would be able to help us even better while implementing this?
Yeah. You've probably seen it already. But there is a Metadata
class. If you use XLIFF then you will be able to save the metadata.
When translations are new, or when they have been edited lately, a workflow to approve them would help to ensure translation quality. The Xliff standard does support this out of the box, the bundle can help with that. Also see
XliffExporter
.Scenario 1: new translation
xliff
file withapproved
attribute set tono
if the translation has a value.approved
toyes
Scenario 2: updating translation via edit in place or profiler
approved
back tono
Scenario 3: updating translation web ui
Future enhancement could be to require a certain
ROLE
in order to approve a translation.