UI Extension, setting a localized content as draft?

Hi!

I’m working on a UI extension that automatizes translation of content while editing it. When a new localized text for a field is set, I’d like to set said field as draft. Is that possible?

I know you can set a whole content as draft (while removing it’s published state) but is there a way to set just a localization for a field as draft?

Thank you!