Project
The Project (CscProject) object contains the complete definition of the processing workflow. During a running script this object is accessed by Project and the corresponding property contains the desired information. A list of a accessible functions and properties that are supported during scripting are found in the API reference.
Use the Project object to control the language that is used for project related definitions. By default, the project is following the UI application language if a project language is available. In the UI application language is not available because the language pack is missing for that specific language, you can load a different project language. Use the Project.ActiveLanguagesetting to set a specific language in the Application_InitializeScipt event.
Private Sub Application_InitializeScript()
Project.ActiveLanguage = "af" ' Afrikaans
End Sub
The validation form and pane definition are affected by the language. This is because field and folder field display name, error messages of specific validation methods, and document review methods all require language translations when a language pack is used. Script-based objects like formatters, validation methods, locators, document review methods are localizable using the Project.Resources object.