function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SvenfSvenf 

Custom labels issue in lightning components since Winter 17.

Hi,

I am in a multilanguage environment and I am experiencing an issue with the custom labels when my user doesn't have the default language. The issue started to appear after the Winter 17 release.

I am using the custom labels in the lightning components via the following 2 ways:
{!$Label.c.test} in the .cmp file and $A.get('$Label.ccpDocuments') in the javascript files of the lightning bundle

The default language is set to English. When the user has English as language, the value of the custom label shows up fine. When I change it to Dutch for instance, I am getting the following instead of the value: $Label.c.test does not exist.

Is anyone else facing this issue or has found a solution for it?

Many thanks
SandhyaSandhya (Salesforce Developers) 
Hi,

Tried to research and found this link see if it helps you!

http://salesforce.stackexchange.com/questions/140426/cant-retrieve-custom-labels-from-community-since-winter-17-release
 
Thanks and Regards
Sandhya
SvenfSvenf
Hi Sandhya,

Thank you for your reply. I also found the post on stackexchange and commented on it. Someone contacted support and it was solved for that person, but I still have the issue in my sandboxes. 

Best regards
SandhyaSandhya (Salesforce Developers) 
Hi,

If you wish you can raise a case with support using below link.

https://help.salesforce.com/apex/HTViewSolution?id=000123530&language=en_US


Thanks and Regards
Sandhya