Handling multiple languages on forms has always been complex. Here’s a simple way to create multi-language Account Engagement forms …
1. Challenges with traditional solutions for creating multi-language Account Engagement forms:
– Need to figure out which form to display
– Handling submissions for a single goal across multiple forms
2. A new solution for handling multiple languages:
– Leveraging the internationalization pattern (i18n) with JavaScript and Handlebars.js
– Custom JavaScript replaces i18n placeholders with translations in real-time
3. Details of the implementation:
– Use double curly braces for wrapping placeholders in HandlebarsJS
– Example of a single Account Engagement form supporting 3 languages
4. Pre-work to do for multi-language Account Engagement forms in Account Engagement:
– Edit form fields to use i18n labels
– Edit dropdown field values to use i18n labels
– Ensure dropdown fields store language code
– Edit submit button text and thank you content to use i18n labels
5. Adding JavaScript to the form to enable multi-language support.
You can read it here: https://sfdc.blog/JeSkm
Source from thespotforpardot-dot-com