đź‘Ą

Salesforce Lightning Community Manual Translation Setup

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”.

image

You can add translation to an existing community or create a new one. In this example, we will create a new community site.

image

For this guide, we will choose the “Customer Service” template. Translation works on all Salesforce community site templates.

image

After successfully creating the new community site, please click on the “Builder” workspace.

image

On the builder page, please click on the gear icon. Next, select the “Advanced” tab and click on “Edit Head Markup” button.

image

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

image

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”.

image

On the same “Security & Privacy” tab we will now add 4 trusted site URLs.

image

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

image

We can now publish or preview our community site.

You will now see a translate option next to each topic question and comment.

image

After clicking on "Translate" and coshing your language you will see the translation results below.

image

For any questions, please contact us - [email protected] or the Formyoula in-app chat 🙂