Lightning: How to use Custom Labels inside components?

What is the way to use localized labels from Custom Labels or from field config inside lightning components?

In VF it was possible like:

  • $ObjectType[sObjectName].fields[fieldName].Type
  • $Labels.Custom_Label


This feature has now been added as of Summer ’15

Source : Link , Question Author : Natallia , Answer Author : Daniel Fuller

Leave a Comment