This guide will explain how to set up Formyoula Translation for your Lightning Community.
Search for “Digital Experiences” on the Salesforce setup page. Then, click on “All Sites”.
You can add translation to an existing community or create a new one. In this example, we will create a new community site.
For this guide, we will choose the “Customer Service” template. Translation works on all Salesforce community site templates.
After successfully creating the new community site, please click on the “Builder” workspace.
On the builder page, please click on the gear icon. Next, select the “Advanced” tab and click on “Edit Head Markup” button.
To add translation support on your community site, please copy and paste the following script into your “Head Markup”. Click “Save” when done.
// Please send a request to [email protected] and we will provide the setup script
Next step will be to update the “Content Security Policy (CSP)” on the “Security & Privacy” tab. We will need to set the “Security Level” to “Relaxed CSP”.
On the same “Security & Privacy” tab we will now add 4 trusted site URLs.
Please add each URL individually.
https://cdn.formyoula-translate.com/vendors/jQuery/jquery.min.js
https://cdn.formyoula-translate.com/manual-translation/formyoula_translation_manual_v173.js
https://cdn.formyoula-translate.com/manual-translation/formyoula_translation_manual_v173.css
https://app1.formyoula-translate.com/api/translate/field
We can now publish or preview our community site.
You will now see a translate option next to each topic question and comment.
After clicking on "Translate" and coshing your language you will see the translation results below.
For any questions, please contact us - [email protected] or the Formyoula in-app chat 🙂