PslProject.ImportTransBundle
Imports data from an file that has been exported with PslProject.ExportTransBundle
Syntax
Expression.Import (FilePath as String, [optional] Flags as Variant) as PslTranslist
Expression Required. Object of type PassoloApp
FilePath Path of the file to be imported
Flags Some options to control the import. To combine flags, add the values:
pslImportMerge (Value = 512): Translation bundles only: The translations in the bundle are merged with the existing translations in the project. If you are importing a licensed translation bundle, you can merge only if you use an unlimited Team Edition of Passolo.
pslImportRelease (Value = 1024): Translation bundles only: Imported string lists are released after import. If this flag is not set, the translation list in the project remains marked as "exported".
Example
Dim prj As PslProject
Set prj = PSL.ActiveProject
If prj Is Nothing Then Exit Sub
If (Not prj.ImportTransBundle("c:\test_de.tbu")) Then
MsgBox PSL.GetLastOutput
End If