Fixes https://github.com/chatwoot/chatwoot/issues/9600 **Summary** - Added manual WhatsApp templates sync functionality accessible via UI - Added refresh button in both inbox settings and template picker modal - Enhanced template picker to always show for WhatsApp Cloud channels (even when empty) **Preview** <img width="1456" height="798" alt="CleanShot 2025-07-22 at 14 15 28@2x" src="https://github.com/user-attachments/assets/8a04ff26-61fa-42ee-a1b8-5e06433ae6e0" /> <img width="2376" height="1574" alt="CleanShot 2025-07-22 at 14 19 24@2x" src="https://github.com/user-attachments/assets/1c772034-04ff-484d-88dd-ca8123e93065" /> --------- Co-authored-by: iamsivin <iamsivin@gmail.com>
30 lines
1.2 KiB
JSON
30 lines
1.2 KiB
JSON
{
|
|
"WHATSAPP_TEMPLATES": {
|
|
"MODAL": {
|
|
"TITLE": "Whatsapp Templates",
|
|
"SUBTITLE": "Select the whatsapp template you want to send",
|
|
"TEMPLATE_SELECTED_SUBTITLE": "Process {templateName}"
|
|
},
|
|
"PICKER": {
|
|
"SEARCH_PLACEHOLDER": "Search Templates",
|
|
"NO_TEMPLATES_FOUND": "No templates found for",
|
|
"NO_TEMPLATES_AVAILABLE": "No WhatsApp templates available. Click refresh to sync templates from WhatsApp.",
|
|
"REFRESH_BUTTON": "Refresh templates",
|
|
"REFRESH_SUCCESS": "Templates refresh initiated. It may take a couple of minutes to update.",
|
|
"REFRESH_ERROR": "Failed to refresh templates. Please try again.",
|
|
"LABELS": {
|
|
"LANGUAGE": "Language",
|
|
"TEMPLATE_BODY": "Template Body",
|
|
"CATEGORY": "Category"
|
|
}
|
|
},
|
|
"PARSER": {
|
|
"VARIABLES_LABEL": "Variables",
|
|
"VARIABLE_PLACEHOLDER": "Enter {variable} value",
|
|
"GO_BACK_LABEL": "Go Back",
|
|
"SEND_MESSAGE_LABEL": "Send Message",
|
|
"FORM_ERROR_MESSAGE": "Please fill all variables before sending"
|
|
}
|
|
}
|
|
}
|