function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bhakti GujarathiBhakti Gujarathi 

help in implementing translation workbench on VF page.

hi.. i have a problem statement where i have to provide picklist(languages) on a vf page and on selecting a particular language the field names on the vf page should be translated into that language. i have enabled the translation workbench and provided the piclist on vf page. but how am in supposed to connect the picklist selected value current user' language?
Best Answer chosen by Bhakti Gujarathi
Amit Chaudhary 8Amit Chaudhary 8
Please check below blog. I hope that will help u
http://amitsalesforce.blogspot.in/2015/01/translation-workbench-salesforce.html

Please let us know if this will help u

Thanks
AMit Chaudhary

All Answers

Amit Chaudhary 8Amit Chaudhary 8
Please check below blog. I hope that will help u
http://amitsalesforce.blogspot.in/2015/01/translation-workbench-salesforce.html

Please let us know if this will help u

Thanks
AMit Chaudhary
This was selected as the best answer
Bhakti GujarathiBhakti Gujarathi
thanks for the help...
Now the main problem i am stuck with is how will the changes reflect on the Vf page. like if i have arround 100 fields for custom object than i'll have to write 100 labels..is there any other way to do this??
Amit Chaudhary 8Amit Chaudhary 8
Hi Bhakti,

You can write the custom label by two way 
1) Custom label 
2) By Object field like below code
<apex:column title="{!$ObjectType.OpportunityLineItem.fields.Quantity.label}" headerValue="{!$ObjectType.OpportunityLineItem.fields.Quantity.label}">



 
Bhakti GujarathiBhakti Gujarathi
hi Amit.,
thanks for your help..
my problem is solved...
thank you very much.