RE: Binary files (e.g., jpg) with dependent source files (e.g., PhotoShop)

From
Doug Domeny <>
Date
2010-08-11T21:51:06+00:00
ID
Thread
RE: Binary files (e.g., jpg) with dependent source files (e.g., PhotoShop)
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:] 

Sent: Monday, August 09, 2010 5:11 PM

To: Doug Domeny; ; 'Yves Savourel'

Subject: RE: Binary files (e.g., jpg) with dependent source files (e.g.,
PhotoShop)

 

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

--

Rodolfo M.
Raya   <>

Maxprograms     
http://www.maxprograms.com

 

From: Doug Domeny
[mailto:] 

Sent: Monday, August 09, 2010 5:35 PM

To: ; Rodolfo M. Raya; Yves Savourel

Subject: FW: Binary files (e.g., jpg) with dependent source files (e.g.,
PhotoShop)

 

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 

Sent: Monday, August 09, 2010 11:21 AM

To: 

Subject: Binary files (e.g., jpg) with dependent source files (e.g.,
PhotoShop)

 

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