Documentation Center

PslTransList.AutoTranslate

Executes the command Auto-Translate for this string list.

Expression.AutoTranslate (Range as Variant, Retranslate as Variant, MarkForReview as Variant, MultiType as Variant) as Long

Expression Required. Object of type PslTransList

Range Variant, optional. Specifies the range of strings to be translated. Possible values are

  • pslAll (default, value = 0)all strings
  • pslDisplay (value = 1) displayed strings, therefore the string list has to be open.

These values can be added to specify how strings are matched (default is "exact match")

  • pslIgnoreCase (value = 256) translations are accepted even if the source strings differ regarding the use of upper and lower case.
  • pslIgnoreAmpersand (value = 512) translations are accepted even if the source strings differ regarding the use of the ampersand to specify the access key.
  • pslIgnoreSpaces (value = 1024) translations are accepted even if the source strings differ regarding the use of leading and trailing spaces.
  • pslIgnorePunctuation (value = 2048) translations are accepted even if the source strings differ regarding the use of leading and trailing punctuation marks.
  • pslIgnoreAll (value = 3840) The combination of all other pslIgnore... values

Retranslate Variant, optional. Specifies, if strings that already were translated, have to be translated again. The default value is False

MarkForReview Variant, optional. Specifies, if the translated strings will be marked with the review flag. The default value is True.

MultiType Variant, optional. Specifies how PASSOLO acts, if muliple translations are found.

pslMultiTakeFirst (default, value = 0): PASSOLO uses the first translation found.

pslMultiNoTranslation (value = 1): PASSOLO does'n translate the string.

pslMultiSetBookmark (value = 2): PASSOLO does'n translate the string, but sets a bookmark.

pslMultiPrompt (value = 3): PASSOLO displays all translations for selection by the user