RC-WinTrans Object Model Help |
ExFcts.ExportProject |
Exports a translation project as database based project (.fsmdb).
Syntax: |
ExFcts.ExportProject(ProjFile As String, TargetProjFile As String, Name As String, srcLang As String, tgtLang As String, [TargetLangsArray]) As Boolean |
Return: | Boolean. "True" if successful. Otherwise "False". |
Parameters: |
ProjFile: File name of the source project to exported from. File extension *.fsmdb. or *.rwtproject. The project must exist in the RC-WinTrans "Projects" tab view. TargetProjectFile: File name of the target project. File extension *.fsmdb. or *.rwtproject. Name: Name of the project. Used in the project tree view of RC-WinTrans. Can be empty ("") to use the name from the source project. srcLang: Target language used as the active source language. Can be empty ("") to use the original project's source language. tgtLang: Target language to be exported and set as the active target target language. TargetLangsArray: Target languages exported additionally to the specified target language (tgtLang). The arrray contgains the target languages (strings) as Variant types. This parameter is optional (default: "nothing").
|
Example: | ' Example 1 ' ---------- bVal = RCWinTrans.ExFcts.ExportProject("c:\mainProj.fsmdb", "c:\tgtProj.fsmdb", "TranslatorProj", "", "de") ' ---------------------------------------------------------------------------- 'Example 2 ' --------- bVal = Application.ExFcts.ExportProject("c:\mainProj.fsmdb", "c:\tgtProj.fsmdb", "TranslatorProj", "", "de", LangsAry) |
Remarks: | Exports a translation project (.fsmdb database file). The database includes the project definition file (.rwtproject). |
See also: