Adds a new translation project to the collection.

Syntax:

Add( Name As String, Filename As String, SourceLanguage As String ) As TranslationProject
Return: TranslationProject
Parameters: Name Name of the translation project.
Filename Path and name of the file that represents the project.
SourceLanguage Source language of the translation project.

Example:
Dim Projs As TranslationProjects
Dim Proj As TranslationProject

Set Projs = Application.Workspace.TranslationProjects
Set Proj = Projs.Add("New Project", "C:\Data\NewProject.rwtproj", "en-us")
Remarks: If "FileName" parameter represents an existing file, the "SourceLanguage" parameter has to be an empty string. In this case, if the "Name" parameter is an empty string the project name will be taken from the project file; otherwise the name of the given "Name" parameter will be used.

See also:

Class TranslationProjects


Last Updated: 03/11/04