

Sudipta Deb
Founder of Technical Potpourri, Co-Founder of Shrey Tech, Enterprise Cloud Architect
Translation in Salesforce involves localizing and adapting the platform to support multiple languages, making it easier for users around the world to interact with the system in their preferred language. Salesforce offers several features and tools to manage translations:
- Salesforce Translation Workbench
- Custom Labels
- Multi-Language Support in Knowledge Base
- Global Picklists
- Language Settings for Users
- Translation API
In this blog post, I will share the different ways how you can make your Salesforce Flow to support Multi Languages.
The form you have selected does not exist.
Watch The Video Or Read The Article (Or Do Both
)
Translate Display Text Message
For this I will create a screen flow and inside the screen, add a Display Text element. Inside the Display Text element, the message I want to display is "Welcome to Technical Potpourri". In order to display the message in multi-language (in my scenario, the two languages I am supporting are English and French), I will be using the custom label and inside the custom label put the French translation. Finally will be using the custom label inside the Display Text element. By using this techniques, my message will be displayed both in English and French language depending on the running user's locale.
Display Text Element
Custom Label
Translate Input Text Element's Label
For this one, I will add the next element in the same screen flow i.e. Text element. Inside Text element's label field, I will add the text "Enter Your Full Name". Now to support English and French language for this text, I will be using the Translation Workbench. For that I will go to Setup -> User Interface -> Translate Workbench -> Translate. There I will select the below configuration and put the corresponding French translation. By using this technique, my text message's label will be displayed in both English and French language depending on the running user's locate
Text Element
Translation Workbench
Translate Input Text Element's Help Text Message
To translate Text element's help text, either I can use Custom Label or I can use the Translate Workbench to translate the text. Result will make sure help text will be displayed based on running user's locale.
Translate Input Text Element's Validate Input Text Message
To translate Text element's Validate Input text message, either I can use Custom Label or I can use the Translate Workbench to translate the text. Let's assume, my validation check is, if text input contains more than 1 characte, I will consider this a valid input, otherwise I will consider this a invalid input and through the corresponding error message. First thing I will do is mark the element is mandary, and then put the logic and error message in the configuration section of the element. Finally, I will be using the Translation Workbench to put the corresponding French Translation. Again you can definitely use the Custom Label to achieve the same goal.
Text Element
Text Element Validation
Translate Validation Message
Translate Flow Screen's Footer Elements
To achieve this, I will be adding my second screen in the flow. In the first screen, I will be changing the text for below footer element button's as -
- Next or Finish Button - Go To Next Page
- Pause Button - Hold On
In the second screen, I will be changing the text for below footer element button's as -
- Next or Finish Button - End
- Pause Button - Hold On
- Previous Button - Go Back
Finally, I will be using the Translation Workbench to put the corresponding French Translation. Again you can definitely use the Custom Label to achieve the same goal.
First Screen Footer
Second Screen Footer
Pause Button
Back Button
Next or Finish Button
Final Thoughts
That's all for today. I hope you will be able to handle translation requirement for your Salesforce flow's without writing any custom lwc or aura components. I will be adding more elements in this post if the way to handle the translation is different i.e. other than Custom Label or Translation Workbench. Please provide your feedback. Thank you !!
Disclaimer
This article is not endorsed by Salesforce, Google, or any other company in any way. I shared my knowledge on this topic in this blog post. Please always refer to Official Documentation for the latest information.














0 Comments