File Engineering

File Engineering is a rather exotic term for preparing files for translation and client delivery. You may receive files in formats that translators will baulk at, including XML, HTML, PHP, and various data files with no internal structure. If you need to find a way to deliver text to translators and recreate the original document in the target language I can probably help.

I’ve had a lot of experience dealing with these various kinds of file and preparing the text for translation.

EXAMPLE 1 – The file below is a block of PHP variables. The text for translation is in the second pair of single quotation marks after the equals sign. Because the file is a basic text file with no structure (i.e. mark-up), grabbing and isolating that text is tricky. I use a combination of regex expressions to do this and provide the translator with an Excel file.

Sample PHP variable file


EXAMPLE 2 – The sample below is from a ‘header’ file for the programming language C+. To display properly in the application any non-Latin characters had to be converted to a special hexadecimal format.

The original Russian translation looked like this: Идет поиск – пожалуйста, подождите…

This had first to be converted to hexadecimal notation:

The next step was to convert that string into a format that the C+ language would understand. This was done by writing a Word Macro to convert the plain hex above into the following :



© Steve Sutcliffe 2012.