We have an Identity community which supports more than 50 languages built using visualforce pages. We would like to migrate the community to LWC. For that, main issue we are facing is the language support.
In vf page header we can add language attribute and based on this we can fetch the language from the labels and picklists. We want to do a similar thing. Is this supported in LWC.
Our login and registration page is in guest user mode. And it need to load in all supported language. We are finding language by currently from the browser default language
String langFromBrowser=ApexPages.currentPage().getHeaders().get('Accept-Language');
Or passing the language as a parameter. Is something similar possible?