[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: Binary files (e.g., jpg) with dependent source files (e.g., PhotoShop)
Hi Doug, If you put both, PSD and JPG, files in the XLIFF document, then you are duplicating the translatable units in different formats. You should include only one of them. Regarding units linking, there is no way that I know. Best regards, Rodolfo -- Rodolfo M. Raya <rmraya@maxprograms.com> Maxprograms http://www.maxprograms.com From: Doug Domeny [mailto:ddomeny@ektron.com] Rodolfo, Yes, I agree, however the problem is a bit more complex than I had originally explained. Here’s a better explanation. The image is referenced in HTML: <img src="”assets/filename.jpg”" /> The XLIFF for the JPEG would be: <bin-unit id=”id” mime-type=”image/jpeg”> <bin-source> <external-file href="”filename.jpg”/> </bin-source> </bin-unit> The XLIFF for the Photoshop would be: <bin-unit id=”id” mime-type=”image/vnd.adobe.photoshop”> <bin-source> <external-file href="”photoshopfilename.psd”/> </bin-source> </bin-unit> How, in XLIFF, should the .psd be linked to the .jpg so the translator knows how to name the jpg file? Or to create a JPEG, PNG or other web-friendly image file at all? Currently, the implementation would have the JPEG and PSD bin-units in two different XLIFF files, but I might be able to combine them if necessary. Thanks for the quick reply (and apologies or the slow response back). Doug From: Rodolfo M. Raya [mailto:rmraya@maxprograms.com] Hi Doug, In case 1, the source document is the PhotoShop file, not the JPG picture. Let the user translate the text from the PhotoShop file and then generate a new JPG. In case 2, the source document would be the Framemaker book. Once it is translated, you can generate a new PDF from it. I would not use <bin-unit> for translating a Framemaker file. You can save it as MIF and use <trans-unit> elements instead to hold translatable text. Hope this helps, Rodolfo From: Doug Domeny [mailto:ddomeny@ektron.com] Sent this to the official list, but believe it was not forwarded to the team, so I’m sending it directly to a few of you. If you did get the automated email, please excuse this duplicate. From: Doug Domeny XLIFF Team, What is best practice for handling dependent files in XLIFF? Case 1: Web content includes an image in JPEG format. The JPEG file (.jpg) was originally created from a PhotoShop file (.psd). In XLIFF, the JPEG file is marked as: <bin-unit id=”id” mime-type=”image/jpeg”> <bin-source> <external-file href="”filename.jpg”/> </bin-source> </bin-unit> How should the PhotoShop file be associated with the JPEG? Case 2: An Adobe Acrobat file (.pdf) originally created from a FrameMaker book. In XLIFF, the PDF file is marked as: <bin-unit id=”id” mime-type=”application/pdf”> <bin-source> <external-file href="”filename.pdf”/> </bin-source> </bin-unit> How should set of FrameMaker files be associated with the PDF? I’ve thought of making the bin-source the original file(s), but would like the translator to create the derived file. Regards, Doug Domeny |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]