You need to sign in to do that
Don't have an account?
Armoury05
Lightning Component Label Translations (for Lightning Out purpose)
Hello,
We are developing a form in Lightning Component where it will be deployed in a web platform using LIghtning Out (outside Salesforce). What we would like to do is to support multi language with the same set of Lightning Components. Is there a way where the form labels will get translated based on some code/setting? For example - if the attribute value passed to the component is 'French' , all the form labels and buttons would get translated to French language. Similarly it translates any languages dynamically as long as it is translated in Salesforce.
Checked the Lightning Component documentation and it suggests the translation based on language of the user set who is accessing the component which is not exactly what we are looking for.
Is this possible or any suggestions on this?
We are developing a form in Lightning Component where it will be deployed in a web platform using LIghtning Out (outside Salesforce). What we would like to do is to support multi language with the same set of Lightning Components. Is there a way where the form labels will get translated based on some code/setting? For example - if the attribute value passed to the component is 'French' , all the form labels and buttons would get translated to French language. Similarly it translates any languages dynamically as long as it is translated in Salesforce.
Checked the Lightning Component documentation and it suggests the translation based on language of the user set who is accessing the component which is not exactly what we are looking for.
Is this possible or any suggestions on this?
Sorry for this issue you are encountering.
May I suggest you please check with below link for similar discussion.
- https://salesforce.stackexchange.com/questions/146720/how-to-see-translation-for-custom-label-in-lightning-component
- https://developer.salesforce.com/forums/?id=906F0000000BHmvIAG
Please let us know if this helps.Kindly mark this as solved if the reply was helpful.
Thanks,
Nagendra