Localization
Important
For information on how to setup localization, please refer to the Localization GuideUsage
'sendmessage' namespace should be used when defining localization strings for Send Message plugin in your i18n JSON file.
Example JSON Language Definition
{
"language_code": {
"sendmessage": {
"title": "Send Message",
"SendMessageButton": "Send Message",
"EmailOk": "OK",
"EmailFormPlaceholderFirstName": "Required",
"EmailFormPlaceholderLastName": "Required",
"EmailFormPlaceholderEmail": "Required",
"EmailFormPlaceholderSubject": "Required",
"EmailFormPlaceholderTypetexthere": "Type your message here...",
"EmailFormFirstName": "First Name",
"EmailFormLastName": "Last Name",
"EmailFormEmail": "Email",
"EmailFormSubject": "Subject",
"EmailFormAttachfiles": "Attach files",
"EmailFormSend": "Send",
"ConfirmCloseWindow": "Are you sure you want to close the <%GenesysWidget%> widget?",
"SendMsgFormCancel": "Cancel",
"SendMsgFormClose": "Close",
"Errors": {
"102": "First Name required",
"103": "Last Name required",
"104": "Subject required",
"181": "Email address required",
"182": "Message text content required",
"connectionError": "Unable to reach server. Please try again.",
"unknowError": "Something went wrong, we apologize for the inconvenience. Please check your connection settings and try again.",
"attachmentsLimit": "Total number of attachments exceeds limit: ",
"attachmentsSize": "Total size of attachments exceeds limit: ",
"invalidFileType": "Unsupported file type. Please upload images, PDFs, text files and ZIPs.",
"invalidFromEmail": "Invalid email - From address.",
"invalidMailbox": "Invalid email - To address."
}
}
}
}
Comments or questions about this documentation? Contact us for support!
