PslTransList.WordCount

Returns the number of words in this list.

Syntax

Expression.WordCount (optional Type as VARIANT) as Long

Expression Object of type PslTransList

Type Can be one of the following values:

  • pslTotal (Value = 100): Returns the total number of words.
  • pslToTranslate (Value = 101): Returns that number of words that need to be translated. This is pslTotal minus empty strings and strings that don't need to be translated, e.g. hidden or read-only strings.
  • pslTranslated (Value = 102): Returns that number of words that are translated, including pre-translated and for-review strings (green, blue, black).
  • pslForReview (Value = 103): Returns that number of words that are pre-translated or marked for-review (green, blue).
  • pslUntranslated (Value = 104): Returns that number of words that are not translated (red).
  • pslValidated (Value = 105): Returns that number of words that are translated and validated (black).