Translate a client script message
Translate the messages used by client scripts.
始める前に
Create a client script that contains messages. For information about creating client scripts, see Client scripts.
Role required: admin
このタスクについて
Client scripts include a multi-line Messages field, which is for message strings that the client script can use as a key to look up a localized message alternative from the Message [sys_ui_message] table. Each message key in a client script is on a separate line in the Messages field. The instance looks for a localized message string anytime the client script makes a getMessage(msg) call where the msg string matches a key in the Messages field in the client script.
For example, if you add the string Please populate the Reason field
to the Messages field in the client script, then the instance will
look for a localized string from the Message [sys_ui_message] table
any time the client script calls:
getMessage("Please populate the Reason field")