Activity Forums Salesforce® Discussions What is best practice to refer dynamic custom messages in Salesforce visualforce?

  • Avnish Yadav

    Member
    July 30, 2018 at 7:34 pm

    Hello Madhulika,

    For multi-language use the Language attribute on the apex:Page tab

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

    replace the Lang parameter with whatever you are using to send the language.

    Thanks.

  • shariq

    Member
    September 18, 2018 at 12:02 am

    Hi,

    You can save the custom messages in custom setting or label and use this on page by making it getter setter or through globally($label).

    Hope this helps.

    • This reply was modified 6 years, 2 months ago by  shariq.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos