1

i´ve just created a Site in Salesforce. This Site shows my Survey visualforce. What i want to have is a dropdown on the top right site where the Site guest user can change the language of the survey. But i dont know how to achieve this. Any help or suggestions are aprreciated.

Thanks in advance.

3

You can add to your page a url parameter called lang. Let's say your page is in german and english. your url will look like this: mySite.com/form?lang=de mySite.com/form?lang=en_us

On your visual force page you can add a parameter to your page tage called "language".

eg.

<apex:page language="{!$Currentpage.parameters.lang}">
    {!$Label.myTestLabel}
</apex:page>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.