1

We have managed package with lightning component hosted in VF page via lightning out .Localization does not kick off for non-english user .This works perfectly fine in scratch org but not with the release build in production.The button using label looks like following :

<lightning:button variant="brand" label="{!$Label.c.labelName}"/>

9
  • 1
    Why do you have the .c? This is not required as far as I know. Commented Oct 2, 2020 at 17:56
  • 1
    @JefersonChaves This is required if we want to use custom label in lightning component : developer.salesforce.com/docs/atlas.en-us.lightning.meta/… . Commented Oct 2, 2020 at 18:01
  • 1
    Does given user has non-english language? Is target language activated in translation workbench? Are translations deployed for labels?
    – kurunve
    Commented Oct 2, 2020 at 18:03
  • @kurunve Yes the user is non-english user. We don't want to activate translation workbench in customer's org and also activating that sometimes translation kicks off sometime it does not so very unpredictable work around . Translation files are deployed for labels . Commented Oct 2, 2020 at 18:10
  • 2
    It will not work with disabled translation workbench
    – kurunve
    Commented Oct 2, 2020 at 18:11

1 Answer 1

0

After activating translation workbench and adding the specific language as active kick off the translation.

You must log in to answer this question.

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