Salesforce Fact #866 | Getting user language and locale using i18n
Besides using @salesforce/user module, We can get the UserLocale and Language using @salesforce/i18n scoped module as well in LWC.
Reference: https://developer.salesforce.com/docs/platform/lwc/guide/create-i18n.html
Attached is the screenshot.
Comments
Post a Comment