How do I customize templates based on the recipient's language?
Note: Smart Templates and associated advanced custom fields are only available in the Cloze Platinum plan.
With Cloze you can translate custom fields and templates content to ensure that the recipient receives your content in their local language. For example, when sending properties to a potential buyer the template can dynamically change to display the description, email subject, custom field labels, and button labels in the recipient's preferred language. Cloze will use the country and formatting options set in their Cloze profile to display the translated content. By default, the contact's country is used to select the formatting and translated content.
For any Cloze template you can translate:
- The subject of the email
- The body of the email (see below for more details)
- Custom Fields and associated picklist values
- Property (or Deal, Project, Sale, Job, etc..) descriptions
- Marketing Email button labels (see below for more details)
Use Merge Fields to easily translate templates into the recipient's language
Email content can be easily translated into the recipient's language with merge fields.
- Simply highlight the text you wish to translate
- Tap on the Merge Fields icon
- Select Text by Language
Cloze will include a translation for the text automatically, but you can make refinements as needed after you select each language.
Use condition logic to customize your email templates by the recipient's preferred language.
With Cloze's Smart Templates you can insert your custom fields into emails and email templates.
Merge fields can be combined with conditions like these:
- if - If a specified field equals a specific value, display some content
- else if - Or else if a specified field has a specific value, display some other content
- else - If there is no match in either scenario, display some alternative content
Merge fields allow information to automatically populate ("merge") in an email making your emails more relevant to the recipient.
Merge fields may be called, variables, placeholders, or custom fields in other applications, but they are all generally the same. They are information that exists within a Cloze contact profile information that will automatically merge into the email when sent.
When using conditional text you can customize your emails even further.
Customize email by Language
For example, you can customize your email by language. In this example the template supports four languages:
Subject by language
- English: "en"
- Spanish: "es"
- French: "fr"
- Italian: "it"
If none of the above languages are set, it falls back to what is included in the "else" condition.
In the example below there is a subject line and body that is translated into each language.
Subject text to be inserted based on the conditions:
- English: Conditional Merge Field By Language
- Spanish: Campo de fusión condicional por idioma
- French: Champ de fusion conditionnel par langue
- Italian: Campo di unione condizionale per lingua
Subject with conditions:
{% if language == "en" %} Conditional Merge Field By Language {% else if language == "es" %} Campo de fusión condicional por idioma {% else if language == "fr" %} Champ de fusion conditionnel par langue {% else if language == "it" %} Campo di unione condizionale per lingua {% else %} Conditional Merge Field By Language {% end %}
Body text to be inserted based on the conditions:
- English: Hello,
Enter the body of your email here in the local language of the recipient.
- Spanish: Buenos Dias ,
Ingrese el cuerpo de su correo electrónico aquí en el idioma local del destinatario.
- French: Bonjour,
Entrez le corps de votre email ici dans la langue du destinataire.
- Italian: Buongiorno, Inserisci il corpo della tua email qui nella lingua locale del destinatario.
Alex
Setting the formatting and language for a person in Cloze