The system supports sending notifications in multiple languages or locales. The desired language or locale can be specified within the recipient object. For this feature to function correctly, templates must be provided in the corresponding language or locale.
{
"recipients": [
{
"target": "person_1_email",
"name": "person_name_1",
"language": "en"
},
{
"target": "person_1_email",
"name": "person_name_1",
"language": "en-us"
},
{
"target": "person_1_email",
"name": "person_name_1",
"language": "es"
}
]
}
-
The system will automatically use the appropriate template based on the specified language or locale.
-
Templates must be stored in the project's root directory under the public_templates folder.
-
If a language-specific template is not found, the notification will not be sent until the template is provided.
-
New templates will be recognized and utilized without requiring a server restart.