Bug 901401 - RFE: Implement support for InDesign documents
RFE: Implement support for InDesign documents
Product: Zanata
Classification: Community
Component: ProjectType-Docs (Show other bugs)
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Carlos Munoz
Damian Jansen
Depends On: 965890 980658
  Show dependency treegraph
Reported: 2013-01-18 01:10 EST by Manuel Ospina
Modified: 2015-11-09 19:10 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-11-26 22:31:18 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Manuel Ospina 2013-01-18 01:10:14 EST
inDesign is a leading Desktop publishing software used broadly in Marketing campaigns for product launches. 
Translation of these material is usually done from the inDesign file format to guarantee the same layout in all the languages. 
To make possible the use of Zanata to translate this sort of material we need to have support for inDesign.
Comment 2 Sean Flanigan 2013-03-04 23:13:05 EST
I've done some preliminary work on this in https://github.com/zanata/zanata/commit/af4405848067b9b78abe7692f5db25d9bafc69b2

but we will need to find a way of handling large files.  We could split them into multiple BLOBs, but it might be better if we kept large files out of the DB.  (Large files can slow down DB backups, DB storage is more expensive than filesystem storage, etc.)

Also, we should probably implement some way for project maintainers to choose Okapi options, instead of hard-coding them in the adapter class.
Comment 3 Carlos Munoz 2013-03-13 21:07:46 EDT
Increasing the max blob size on the DB works fine. I tested a with a few real-world InDesign (IDML) files by exporting them from a binary original, pushing to zanata and then exporting to InDesign again.
The process worked smoothly, with a few items we need to look at:
- The order of the entries in Zanata does not seem to match the order in the original InDesign file. The specific example that I noticed had the document's footer near the top of the list which could be confusing.
- There seem to be comments and instructions for the designers in the document itself, which may or may not need to be translated. If they don't need to be translated they might throw off the statistics. So we may need to look at a way to ignore those types of entries.
Comment 5 Sean Flanigan 2013-04-09 01:00:02 EDT
Regarding the order of the entries in the document, we may not be able to do much about it, short of implementing a preview feature (with a copy of InDesign).  As with PDF files, I gather the order shown on the page doesn't always match the order in the underlying file.

We should be able to filter out the designer comments in most cases by modifying the Okapi IDML filter, assuming they have a sane representation in the IDML file.
Comment 6 Sean Flanigan 2013-04-22 23:58:09 EDT
I found a bit of information about the order problem here: http://stackoverflow.com/questions/8346961/logical-order-of-story-xml-in-idml
Comment 7 Sean Flanigan 2013-11-26 22:31:18 EST
Closing VERIFIED bugs which predate Zanata 3.1.2.

Note You need to log in before you can comment on or make changes to this bug.