For Visualforce we are using custom labels as described here:


The usage is very simple:


Labels are a very important building brick if it comes to I18n/L10n and translations using Translation Workbench.

Are they supported in Lightning Components yet?


1 Answer 1


Use custom labels in Lightning components with the $Label global value provider.

Use this syntax to access custom labels in Lightning components:

$Label.c.labelName for the default namespace

$Label.namespace.labelName if your org has a namespace Here are some examples.

Label in a markup expression using the default namespace

Label in JavaScript code if your org has a namespace


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .