- assigned issue to
Set the state of the target to 'translated' when saving
From Jean-Christophe: https://groups.google.com/d/msg/okapi-devel/GKfJ95oAe2A/BnNhd7aqBgAJ
Request for an option the OmegaT plugin for XLIFF files to add (or update) the state attribute of the <target> so it is set to 'translated' when we save the translated file.
Comments (5)
-
reporter -
reporter Looking at the XLIFFFilter code, it seems the STATE property is read-only. So that is why the output doesn't work. We would have to make it read/write in the XLIFF filter first.
-
Account Deleted FYI: Not related to this issue but just thought I'd mention that the STATE-QUALIFIER seems to be read-only as well. In this code block:
I've added this code:
Property sqProp = new Property(Property.STATE_QUALIFIER, "x-testattr"); if ( saveStateTranslated ) { trgSeg.setProperty(sqProp); }
And the
state-qualifier
property is not being added/updated in the target file. -
Account Deleted - changed status to on hold
Awaiting fix for Okapi issue 622 'XLIFF Filter does not update state attribute'
-
- Log in to comment