Release 10.1A: OpenEdge Development:
Translation Manager

> ## Loading text phrases into the project database

> After you define filters, your next step is to load the text phrases into the project database. When you load text, the Translation Manager passes the text phrases in the `STRING-XREF` file through the three types of filters you defined with the Filter Wizard: Progress 4GL, Progress Keywords, and Custom. The Translation Manager then loads the text phrases into the project database. Figure 5–3 illustrates the process the tool follows to load text phrases.

> Figure 5–3: The load process

> After you load the text phrases, you can view them in the Data tab folder. You can then redefine your filters and load the text phrases again. The Translation Manager compares the new load information to the text phrases that are already in the database and updates the database with the newest information.

> | To load the text phrases from the STRING-XREF file into the project database:

> 1. From the Data tab folder, choose Load. The Load dialog box appears:

> 2. Specify the following load options, then choose OK:

> - Use Filters — Loads the text phrases from the `STRING-XREF` file through the filters you selected in the Filter Wizard.

> If you deactivate this option, the Translation Manager loads all the text phrases in the `STRING-XREF` file into the project database.

> - Delete XREF When Load Complete — If you accept the default (deactivated), you can reuse the `STRING-XREF` file later to avoid re-extracting if you change the filter settings.

> If you activate this option, the Translation Manager deletes the temporary `STRING-XREF` file after it loads the text phrases into the project database. You will then need to re-extract the text phrases if you change the filter settings.

> Translation Manager loads the text phrases and displays a statistics alert box summarizing the number of text phrases it extracted and loaded into the project database. The alert box also indicates whether the Translation Manager deleted the `STRING-XREF` file:

> Figure 5–4 shows the Data tab folder that lets you view the text phrases loaded into the project database. To include the list items for combo boxes, open the Filter Wizard to the fourth panel and activate the Combo-box List-items toggle box. When you choose Load, the tool loads the phrases through the newly specified filters and this time includes the list items for combo boxes.

> Figure 5–4: Data tab folder

> Review the text phrases carefully and remove any text phrases you do not want the translator to translate. You can view any text phrase in a separate, larger dialog box by double-checking on any field of the Data tab folder. Figure 5–5 shows the Long String Translator dialog box.

> Figure 5–5: Long String Translator dialog box

> The Long String Translator dialog box allows you to view and translate text phrases. If a text phrase is longer than 34 characters, you cannot see all of the text in the Translation tab folder. Double-check on the text to display the Long String Translator dialog box. The source string displays in the Source String viewer. The target string displays in the Target String viewer. You cannot edit the source string, but you can edit the translation in the Target String viewer.

> The next section describes how to create the resource procedures that translators use for in-context translation.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095