Returns the value of a key for an externalized string in a specified locale. The key is from a message properties file, created for Process Central process request forms. Use this function in a REST-based process to send localized data back to the output message of a process request form. In a REST process, the browser locale is available, allowing you to localize returned data.
Parameters:
key
: required string - the key name from the message properties file created in Process Developer. The value for the key is returned by the function.
locationHint
: required string - The catalog location URL for the default properties file. The location is a hint.
locale
: required string - the locale for the message, such as
en_US
or
fr_CA
or
fr
. Empty string for the default locale. The locale is based on the browser locale.
arg1
: optional string or object - Argument to replace text within the key value string
argN
: optional string or object - Same as
arg1
, the number of args will vary depending on how many placeholders are in the key value