RAD Studio (Common)
ContentsIndex
PreviousUpNext
Editing Resource Files in the Translation Manager

After you have added languages to your project by using the Satellite Assembly Wizard or Resource DLL Wizard, you can use the Translation Manager to view and edit your resource files. You can edit resource strings directly, add translated strings to the Translation Repository, or get strings from the Translation Repository.

To edit resource strings:

  1. Open a project that includes languages.
  2. Choose ViewTranslation ManagerTranslation Editor.
  3. Expand the project tree view to display the resource files that you want to edit.
    Tip: Use the expand and collapse icons on the toolbar above the tree view.
  4. Click the resource file you want to edit. The resource strings in the file are displayed in a grid in the right pane.
  5. Click the field that you want to edit and type the new text directly in the grid, right-click the field and choose Edit to edit the string in a dialog box, or click the Multi-line editor icon on the toolbar above the grid.
  6. Optionally, enter a comment in the Comment field.
  7. Optionally, set the translation status for the string by using the drop-down list in the Status field.
  8. Click the Save Translation icon on the toolbar above the grid to update the resource file.
Tip: To display the original form or translated form, click the Show original form
and Show translated form icons in the toolbar above the grid.

To add a resource string to the Translation Repository

  1. After editing a resource string in the Translation Manager, right-click the string that you want to add to the Translation Repository.
  2. Choose RepositoryAdd strings to repository. The resource string is added to the Translation Repository and can be viewed by closing the Translation Manager and choosing ToolsTranslation Repository.

To get a resource string from the Translation Repository

  1. In the Translation Manager, click the Workspace tab.
  2. Expand the project tree view to display the resource files that you want to edit. The .nfm files are listed under the Forms node.
  3. Click the resource file you want to edit. The resource strings in the file are displayed in a grid in the right pane.
  4. Right-click the field that you want to update and choose RepositoryGet strings from repository. If the Translation Repository contains only one translation that matches the selected source string, it copies that translation into the target language column. If the Repository contains more than one match for the selected resource, its default behavior is to retrieve the first matching translation it finds. Tip: To change this behavior, close the Transaction Manager and choose ToolsTranslation Tools Options, click the Repository tab, and change the Multiple Find Action setting.

To open the resource file in a text editor:

  1. In the Translation Manager, click the Project tab.
  2. Click the Files tab.
  3. Double-click the resource file that you want to update. The file opens in a text editor.
  4. Change the file as needed and save it. Tip: To change the text editor used by the Translation Manager, choose ToolsTranslation Tools Options and change executable file specified in the External Editor field.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!