The 'getLocaleMsg' function retrieves a localized message by a message ID.

  • Prototype: plugin.getLocaleMsg(sMsgID, sDefMsg);
  • Parameters:
    1. sMsgID: a message ID.
    2. sDefMsg: specifies a default value in case that the given ID not found in the language file.
  • Return Value: a localized message.
  • Example: var sMsg=plugin.getLocaleMsg('Prompt.Warn.ReadonlyDb', 'Cannot modify a readonly database.');