Multiple language using custom label - Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Swaroop PattanayakSwaroop Pattanayak 

Multiple language using custom label

Hello All

I am new to Translataion Workbench functionalities using Custom Label. Need a help.

The ask is to show business specified messages on a visualforce page. Depending on language, the messages should appear in either English or Dutch or User-added imageFrench.

I am able to create a master label in custom label and add french to Translation Information. And, it allows only one additon. Can someone help me with how to accomodate Dutch as well so that I can use it in visualforce page.

Please let me know if there is any wrong in my approach.
Best Answer chosen by Swaroop Pattanayak
Deepak AnandDeepak Anand

All Answers

Arijit MajeeArijit Majee
Please check below links. You need to add a new translation to the custom label field.

Swaroop PattanayakSwaroop Pattanayak
Thank you Arijit.
The links were helpful indeed.

But, in one custom label, I am able to add one language i.e. French only. Now I need to add Dutch as well for Dutch users. How to achieve that? I need both Dutch and French. As shown in my screenshot, I have added French. Now I need to add Dutch of same. The translation information in custom doesnt let me add a second language. How to achieve that? Do I have to create another custom label for a second language (Dutch in my case) again?

The languages are active as well. As of now, since French is added, I can see french langauge only.
User-added image
I have already added the custom label to my VF page:

<apex:outputText value="{!$Label.PreEligObjectTitle}" style="font-weight:bold"/>
Deepak AnandDeepak Anand
This was selected as the best answer
Swaroop PattanayakSwaroop Pattanayak
Thanks Deepak! Appreciate your help. 
That was simple :)