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
Killian MerKillian Mer 

Custom Labels Translation doesn't working - Lightning Component

Hi everyone,

I'm trying to build a multi-language solution. So i decided to use Custom Labels for it and insert a translation so i can insert them in my lightning components.
The basic language of my platform is French and i would like to translate my label into English. I made it like this :

Configuration of my translated custom label

So in my lightning component i have the following instructions :
<lightning:select aura:id= "selectCountry" name="selectCountry" label="{!$Label.c.Moteur_Recherche_Pays}" required="true" onchange="{!c.getSelectedCountry}">
     [...]         
</lightning:select>
But even if my platform language is French, i always have the word "Country" in my Lightning Component. So it always use the "English translation", and never the basic label.

Do you know where does it comes from?

Thanks in advance
Raj VakatiRaj Vakati
I am sure your transalations are correct  and code also .. its will diaply based on the current user language  .. Can you please update the user language  and try and let me know 
Killian MerKillian Mer
I fixed it by adding a translation in French too... I thought that it will use the Default value, but it doesn't seems to do it.
Thanks for your response anyway !