v21.6
Support Multilingual Picklist Values
Docomotion supports multilingual content with picklists, allowing you to generate documents in different languages using Salesforce Translation Workbench. This feature enables automatic translation of picklist values based on the selected language in Form Settings.
Details:
- Salesforce picklists can be configured with translations for specific languages, enabling users to see picklist values in their selected language
based on Form Settings. When generating documents, the system dynamically retrieves these translated values to ensure thatlanguage-specific content appears correctly in each document.
How It Works:
- Picklist Setup: Each picklist value is given translations for each language supported by the organization.
- Dynamic Selection: During document generation, the system detects the selected language in Form Settings and pulls the corresponding translations from Salesforce.
- Fallback Logic: If a translation for a picklist value is unavailable in the selected language, a default language is displayed, based on the fallback setting in the User default Language of Salesforce.
Language Setting in Form Settings Page
Description:
Adds a Language field that allows users to select languages in ‘Form Settings.’ Any selection will apply to the specific
form rather than organization-wide. If no language is defined, the system will use the default language of the org
Multilingual Picklist Setpup
Salesforce Translation Workbench: Supports dynamic picklist value translation.
Relevant components:
- Language – The language the user wishes to translate.
- Setup Component – The relevant part for this feature. Only picklist values will be handled as part of this development.
- Object – The object you wish to translate.
- Master Picklist Label – The name of the category.
- Picklist Value Label Translation – The label that can be translated into each relevant language
Document Generation Process
When a language is selected in Form Settings, the system will retrieve the corresponding picklist values. For example, selecting French will replace “Name” with “Nom” and “Address” with “Adresse.”
If a translation is unavailable, the fallback specified in Form Settings (e.g., English or empty) will determine the field’s behavior.
- The feature will be supported with the ‘Lightning Generate Button’ and ‘Wording & Clauses (W&C)’.
- PDF, DOCX, and HTML formats will be supported.
- The existing generation method will remain unchanged, so no new request type is needed between Novidea and
Docomotion. - The translation solution is only for picklist-type fields