Creating a Custom filetype

Hello 

Below is an example of the format in a text file

...

'Source' => 'Target',

 'Invalid image\'s file. Uploading is forbidden.' => 'Nieprawidłowy plik obrazu. Przesyłanie niedozwolone.',

'Invalid image\'s measuring. Uploading is "forbidden".' => 'Nieprawidłowe wymiary obrazu. Przesyłanie "niedozwolone".',

'URL ":url" is not valid ' => 'Adres URL „:url” jest nieprawidłowy',file

'Recalculate' => ' ',

'Bet must be a number.' => ' ',

....

The first three lines include source and target,  the last 2 lines include only source and it should be translate.

Is there any way to open this format in Studio Trados to translate the missing part. There are quotation marks in the source text

The solution is Creating a Custom filetype. Does anyone have any idea how to do this?

  • You won't be able to do this in Studio because there isn't a bilingual filetype you can customise to support your needs.  You only way we can handle a file like this is to put the source into the target using a text editor (so you change the source file) and then translate the target.   Essentially you would then be extracting source and translating it.  So your file would need to look like this:

    'Source' => 'Target',
    'Invalid image\'s file. Uploading is forbidden.' => 'Invalid image\'s file. Uploading is forbidden.' ,
    'Invalid image\'s measuring. Uploading is "forbidden".' => 'Invalid image\'s measuring. Uploading is "forbidden".' ,
    'URL ":url" is not valid ' => 'URL ":url" is not valid ',
    'Recalculate' => 'Recalculate',
    'Bet must be a number.' => 'Bet must be a number.',

    Working around it you could address this in Excel and create a bilingual Excel files from the file.  If you have good Excel skills this might be a sensible solution.  Recreating the file at the end would be trivial, but extracting the right source and target material would require a little more knowledge.  In fact I'd be inclined to extract the source in a text editor and then do the same for the target.  Copy paste into Excel and do it that way.  Simple enough if you only have one file... a bit more arduous if you have many.

    How many of these files do you have to handle?