Hello,
I'm a translator and am trying to convert an indd file to idml, so that it can be read by my CAT-tool (the text is send to the translation application, translated, and sent back to the idml file, at the same place in the same format. only the language has changed).
how do i do that? when i go to file => export => idml format (osx) all I get is a little file of 4 kb in size, while the indd original is 450 MB.
I need help and am grateful for it!
thanks in advance...
camembert
That sounds about right. .idml is really a zip archive of xml files, and is very compact. I don't know anything about the translation business, so I don't know if you need to expand the archive to work with the tool or not, but Joel Cherney, one of our semi-regulars is an expert inthe field and has been visible in the past couple of days, so there's a pretty good chance he'll see this later today and offer some further advice or ask for clarification.
if you look at the first post, file => export is the right track, however i get a file of 4KB, a compression from a 450 MB file, that can't be possible.
it's a 80 page cd manual, so even with no images there is enough text to amount to more than 4KB.
Any ideas what the problem is?
Regards,
camembert
camem_bert wrote:
the idml is not zipped, it's normal.
ALL .idml files are really zip archives with the file extension changed. Whether or not yours is damaged or incomplete is still an open question. Please try making a copy of the .idml you have, change the extension to .zip and see if you can expand it.
ok thanks for the update then.
I somehow did the trick, unknowingly as usual : i saved the file under another name, then saved the new file in the idml format, it then it exploded to 877 MB. But in that format it was readable by my CAT Tool (xliff based).
thanks for your answers.
If you have any links about how idml works, please let me know. I would also like to connect with Joel Cherney if you have a link to his profile (i'm speaking to Peter Spier).
Kind regards,
camembert
Nothing about your question is really translation-tool-specific, it seems to me - but I'm happy to answer any questions you have about the process, and expand on industry-specific stuff if necessary.
i saved the file under another name
That's probably how you fixed it, you know, if it's not still broken. It's what Bob told you to do in post 8 - when you do a File -> Save As, the resultant file is supposed to be stripped of extraneous history & et cetera, bringing the file size down.
then saved the new file in the idml format
Well, I'm sure you mean exported (because you get to IDML via File -> Export, not File -> Save) but so long as you got an IDML out of it then it was a success, right? ![]()
it then it exploded to 877 MB.
As Bob implies, that is a very bad sign. IDML files are usually much smaller than INDDs. (If you go through the rename-extension-to-ZIP-and-unzip process, you'll see that inside the IDML are a bunch of XML files inside. Most of those describe the structure of the document, but inside the "Stories" folder you should find one XML file for each story in the INDD. Since it's all raw text (all of those XML files are raw text inside) then for an 877MB text file there is a truly insane amount of information. It's quite probably that something is wrong with your source file - and my hunch would be that you would discover that when you were done with the translation and were attempting to create the translated file. So, the fact that you can open up the IDML in your translation tool is, sorry, not good enough. If you can save and regenerate INDD, then you know that you're safe to start working on the translation.
I'm kind of curious about the file size of the source INDD after you resaved with a new name. Also, you should try to make a copy of the 877-meg IDML and see if you can reimport it into InDesign without translation. I suggest this because it's one of the best way to repair corrupted INDDs that we have, to export IDML and re-import and re-save as a new INDD. Also, if your IDML is so messed up that it is about a thousand times the ordinary size of an IDML, then it may be so messed up that you won't be able to re-import the IDML back into InDesign at all.
North America
Europe, Middle East and Africa
Asia Pacific