Usually, you will want to translate only a few of the text phrases in a source procedure; that is, only user‑interface text, not 4GL logic text. The Translation Manager lets you set filters so that the Translation Manager loads into the project database only those text phrases that you want to translate.
Because it is easier to remove text strings than add text strings, you should include text strings that you are not sure about. You can remove them later.
To specify filters:
1. From the Data tab folder, choose Filters. The Filter Wizard window appears. The Filter Wizard consists of thirteen panels that lead you through the process of specifying filters.
The first ten panels let you specify include filters — filters that determine the 4GL text phrases you want to place in the project database for translation. The last three panels let you specify exclude filters for 4GL keywords or specific text strings (for example, a company logo) that you do not want to translate. You can specify multiple filters—the number of filters you can specify is limited only by the size of the character string your system resources support. See the “Loading text phrases into the project database” section for details on how the Translation Manager uses these filters.
2. To accept the defaults and skip to the end of the Filter Wizard, choose Finish. The Filter Wizard displays a summary of the filters you defined.
If you would like to redefine your filters, use the Previous and Next buttons to navigate through the Filter Wizard and make changes. Then choose Finish to display an updated summary.
3. Choose Apply to set the filters.
The Translation Manager saves your filter settings in a table in the project database. You can redefine them by repeating Steps 1 through 3.
Note: The Filter Wizard assumes you are familiar with the 4GL language.
The following section describes how you can reuse your filters for multiple projects.
Exporting and importing filters
You can export a project filter to a text file so that you can use it in another project. When you export filters, the Translation Manager saves it as a table dump file (.d).
2. Choose the directory that contains the filters that you want to export.
3. Enter the filter filename (the default filename is TM-fltrs) with a table dump file (.d) extension, then choose the Save button.
You can customize your filters, then import the filters into multiple projects. The filter file you import must be a text file with the source and target phrases separated by commas or spaces.