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
David Benkoel 3David Benkoel 3 

Translate custom labels from an URL parameter

Hi,

I made a custom login page usin Lightning Web Components.
To do so, I embedded the parent LWC into a Lightning Component (Aura), which is just an empty shell - its purpose is just on appear in the Experience Builder as a Custom Component.

Now, accordng to an URL parameter (lang=fr for example) passed to the login page URL, I'd like to render custom labels in my LWC views.

Is it possible? If yes, how to do so?
I found nothing in the docs about this.

Thank you
VinayVinay (Salesforce Developers) 
Hi David,

Check below references.

https://salesforce.stackexchange.com/questions/146720/how-to-see-translation-for-custom-label-in-lightning-component
https://developer.salesforce.com/forums/?id=9062I000000QwLpQAK

Thanks,