Documentation Center

PslSourceLists.Add

Adds a new source file to the project.

Syntax

Expression.Add (FileName as Variant, optional Title as Variant, optional LangID as Variant) as PslSourceList

Expression Required. Object of type PslSourceLists

FileName Name of the new source file path. The path can be indicated absolutely or relative to the directory of the project file

Title Title of the source string list. If it is omitted, the title will be generated from the FileName.

LangID Language-ID of the strings in the source file. It can be either the LanguageID or the LanguageCode. If this argument is omitted, SDL Passolo will try to detect the language from the resources of the source file.