OpeXML Filter: introduce flexible configuration options

Issue #1177 new
Denis Konovalyenko created an issue

This is a follow-up to the started discussion in pull request #665:

Denis Konovalyenko

One additional thought on the possibility of the future use. As the OpenXML filter supports 3 types of documents (DOCX, PPTX, XLSX), there can appear cases when the translation or reordering may require different behaviour - saying, we want to translate (and/or reorder) comments for DOCX documents only. I am wondering whether such flexibility would be demanded.

Jim Hargrave Work

Good point about different options for docx etc.. As the OpenXml filter evolves I think we will need to specify specific options for each format. Other filters define a different default config per file type (.xliff, .sdlxliff, .iwsxliff etc..). Maybe we can do the same for docx, pptx and xlsx?

Denis Konovalyenko

As for the options separation per document type, I assume we can introduce some sort of namespaces:

generalConfiguration.translateSomething.b=true
wordConfiguration.translateSomething.b=true
powerpointConfiguration.translateSomething.b=true
excelConfiguration.translateSomething.b=true

and think about the best way of overriding.

Comments (3)

  1. jhargrave-straker

    I think the namespace addition is clear. I think ultimately it would be nice to have separate fprm files for each format as this would be cleaner and easier to read. But this will do for now.

  2. Log in to comment