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:
- Open a project that includes languages.
- Choose ViewTranslation ManagerTranslation Editor.
- 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.
- Click the resource file you want to edit. The resource strings in the file are displayed in a grid in the right pane.
- 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.
- Optionally, enter a comment in the Comment field.
- Optionally, set the translation status for the string by using the drop-down list in the Status field.
- 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
- After editing a resource string in the Translation Manager, right-click the string that you want to add to the Translation Repository.
- 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
- In the Translation Manager, click the Workspace tab.
- Expand the project tree view to display the resource files that you want to edit. The .nfm files are listed under the Forms node.
- Click the resource file you want to edit. The resource strings in the file are displayed in a grid in the right pane.
- 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:
- In the Translation Manager, click the Project tab.
- Click the Files tab.
- Double-click the resource file that you want to update. The file opens in a text editor.
- 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.