Do you know how to Save opened target language file (sdlxliff) as Standard (Crtl+S) does from the level of the code?

Hello,

I want to convert my sdlxliff file back to original format. I do it by calling RunAutomaticTask - ExportFiles. Unfortunately for me, the process takes only last saved version of the document.

So, for example if a user changes any segment/s and confirm by (Crtl+Enter) and DO NOT save using (Crtl-S) the change/s won't be visible in exported file.

My idea is simple - to save document before exporting it.

If you any suggestion please let me know.

Regards,

Michal.

Parents
  • Perhaps you are approaching the problem incorrectly...

    If you want to save the editor content to target format, then you should nto be using Export Files in the first place... because it's intended for exporting the SDLXLIFF content, not the editor content.

    Perhaps you should better go instead for equivalent of Save Target As (Ctrl-F12, or what's the default shortcut).
    That seems to be a cleaner way, at least to me. The "save and then export" way is rather a weird workaround for unfortunate design, IMO.

Reply
  • Perhaps you are approaching the problem incorrectly...

    If you want to save the editor content to target format, then you should nto be using Export Files in the first place... because it's intended for exporting the SDLXLIFF content, not the editor content.

    Perhaps you should better go instead for equivalent of Save Target As (Ctrl-F12, or what's the default shortcut).
    That seems to be a cleaner way, at least to me. The "save and then export" way is rather a weird workaround for unfortunate design, IMO.

Children