CopyFlow Gold for Illustrator CS3-CS5

CopyFlow Gold for Adobe Illustrator CS3 or CS4 or CS5   [3/27/10] 

Contents

  1. Installation
  2. Using CopyFlow Gold
  3. CopyFlow Gold Batch Tool
  4. CFG Log File
  5. CFG Ignored Commands Configuration File
  6. Configure Trados Tag Editor for CFG exported XML text

 

Introduction – CopyFlow Gold for Adobe Illustrator batch exports and batch imports text to a simple tagged XML format. Entire folders of Adobe Illustrator files are processed at once. In short, the textual contents of one or many Illustrator document can easily round-tripped to a Translation system such as SDL-Trados or Deja Vu.

To export and then re-import text content, the text frames are ordered automatically.

CopyFlowGold for Illustrator is available for Illustrator CS3, CS4, CS5 for both the Macintosh and Windows platforms.

CopyFlow Gold is scriptable using Illustrator scripts written in Javascript.

After installation (see: How To Install), CopyFlow Gold adds a menu to the Illustrator Scripts menu as shown below. The CFG Tool is a dialog which contains the buttons to begin exports, imports and access to CFG settings.

CopyFlow Gold is most often used to quickly extract formatted text from an Illustrator document for translation purposes and to return the content after translation.

CopyFlow Gold (CFG) is built to round-trip text. CFG for Illustrator exports and imports text to and from Illustrator text frames while preserving the formatting.

 

Installation

CopyFlow Gold for Adobe Illustartor consists of three files.

  • For CS3 – Copy the .jsx file to the subfolder of the Adobe Illustrator folder /Presets/Scripts/
    For CS4 & CS5- Copy the .jsx file to the subfolder of the : Adobe Illustrator folder /Presets/(langauge_code)/Scripts/
  • Copy the .jsxbin file to the the Adobe Illustrator folder
  • Copy the .html file to the the Adobe Illustrator folder
  • Restart Adobe Illustrator.

Files After Install

 

Using CopyFlow Gold – The WorkFlow:

Create three directories: one to hold copies of the Illustrator documents you wish to process, one to hold the exported text files and one to hold the files to be imported into the Adobe Illustrator documents after translation.

n.b., Always use copies of your Illustrator documents with CopyFlow Gold. Not the originals!

When the export process is begun, the Illustrator document folder is scanned for Adobe Illustrator files in the native “.ai” format or in the “.eps” format. Each document is opened in turn and the text contents exported to a single .xml file in the specified Text export folder. Each exported file is named with the Illustrator document name and an .xml extension. For example; an Illustrator file named Instruments.ai will produce an exported text file named Instruments.xml. After the text is exported, the Illustrator document is closed.

The .xml files can then be taken from the export folder for translation. After translation the translated XML text files should be placed in the Text Import folder. The files should retain their original name. When the import process is begun the Illustrator document folder is scanned for Adobe Illustrator files in the native “.ai” format. Each Illustrator document is opened in turn and the text contents imported from a file of the same name in the Text Import folder, but with an .xml extension. If the import file for an Illustrator document is not found – a dialog will appear so the file to be imported can be located.

After the text is imported, the Illustrator document is left open on the screen. (From version 1.05 and later: there is a checkbox option to Close And Save After Import – see next section below on CFG Batch Tool)

 

CFG Batch Tool The screen shot below shows the CopyFlow Gold Batch Dialog.

Close any open Illustrator documents and open the dialog with the Illustrator File->Script menu.

Scripts

The Set Illustrator Doc Folder button is used to locate the folder containing the Illustrator documents to be processed. (The “.ai” files )The Set Text Export Folder button is used to locate the folder into which the text export files are written.The Set Text Import Folder button is used to locate the folder from which text is imported.

The Export button begins the export process (see .

The Import buttonbegins the import process.

The Clear Log button clears the activity display.

The Settings Info button displays the current settings in the activity display.

The Prefs button opens the Preferences dialog.

The Help button opens an HTML page with help, tech support, and purchase information.

The Register button displays a dialog used to register the product with the keys emailed after purchase. Registration converts a CFG demo into a fully functional product.

There are 2 checkbox options:

Close And Save After Import - Automatically saves and closes Illustrator document after new text has been imported.

Format Output - Pretty prints the XML – easier to read.

The version and registration status are displayed at the very bottom of the dialog.

 

 

 

CopyFlow Gold Log File

 

A detailed log file of operation is written for each session. The log file is named “CFG_ILL_Log.txt” and is stored in the user’s My Documents (Windows) or Documents (Macintosh) folder

.

CopyFlow Gold Ignored Commands File

 

A configuration file is named “CFG_IgnoredCommands.xml” is stored in the Illustrator program directory. Typical contents are shown below ( as delivered by default) . The file lists in XML format the names of typographic commands you wish CopyFlow Gold to ignore. In this case, assuming the text is translated, changes in tracking and ligatures can be ignored in the text runs — proper configuration of this file enables CopyFlow Gold to create longer and more useful text runs pre-translation.

Ignored Commands

 

Configure the SDL Trados Tag Editor for Tagged XML

 

1. A folder named “other files” in the CFG distribution contains two files a .ini and .dtd. Copy these 2 files to C:\Documents and Settings\All Users\Application Data\SDL International\Filters or another shared location.

2. When openng theexported XML file in SDL Trados Tag Editor Use the Tools menu to select Tag Settings.

3. Click Open button and open the NAPSILLXML.ini file moved into the Filters directory in step 1.

TagEditor