• padma sree 24
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hi Team,

Please help me how to use translation custom labels in apex class. I can able to use translation custom labels in vf page as !$Label.customlabelname but i am not able to use translation custom lables in apex class.
I have tried to use ApexPages.Message myMsg1 = new ApexPages.Message(ApexPages.Severity.ERROR,Label.Error_Message); like this but always i am getting error message in english only not in local languages.

Please help how to use this.

Thanks in advance,
padmasree