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
timrnicholstimrnichols 

Help Section built on Sites?

 


Has anyone developed a help section to browse solutions using SF Sites?   Can you create a multi-language based solution depending on the URL?  Something like www.foobar.com/help/es, www.foobar/com/en?

 

Thanks

Tim

Best Answer chosen by Admin (Salesforce Developers) 
BulentBulent

You can pass the language as a parameter to you page like: 

http://<your site url>/foo?lang=es 

 

Your page needs to have the corresponding page attribute

 

<apex:page language=”{!$CurrentPage.parameters.lang}”>

 

 if you have translation workbench enabled in your org then you can translate the standard labels, and you can create your custom labels to use them on your page.