Eplan Platform API
Eplan.EplApi.HEServices Namespace / Translate Class / ImportProjectTexts Method / ImportProjectTexts(Project,StringCollection,Boolean) Method
Project from which the texts will be imported.
List of languages to import.
If set to true, translations which are already existing in the dictionary will be overwritten by the imported texts.

In This Topic
    ImportProjectTexts(Project,StringCollection,Boolean) Method
    In This Topic
    Method for importing texts from the project into the dictionary (language database). As the case may be, one or more new languages will be added to the dictionary. The language database into which the texts will be written are determined by a user setting. The languages specified in listLanguages should be already in the translation languages of the project, otherwise nothing is is imported for a language.
    Syntax

    Parameters

    pProject
    Project from which the texts will be imported.
    listLanguages
    List of languages to import.
    bOverwrite
    If set to true, translations which are already existing in the dictionary will be overwritten by the imported texts.

    Return Value

    true, in case of no error.
    Exceptions
    ExceptionDescription
    Thrown if an error occurs during import.
    See Also