Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Note
titleContent Freeze

As of July 25th, 2023, there is a content freeze on this page.


pui.getLanguageText( dictionary, messageID, [variableValues] )

This JavaScript function can be used to retrieve a phrase from a dictionary in the language that the user has configured and returns it. For information on how to define a dictionary see Language Support

Required parameters:

  • dictionary - a dictionary to lookup phrases, for example "runtimeMsg". 
  • messageID - an identifier for a specific message within a dictionary. 

Optional Parameter:

  • variableValues - an array of values to be placed in a variable called "&1", "&2", "&3", etc. 

For example, if you have a dictionary defined as follows (for more information about dictionaries see Language Support). 

...