I'm using Sitecore 9 and SXA 1.7.
I can set the default language of the site at Site Grouping:
I want to know where to set the language programmatically in SXA. Which dll to use, as I want to override this behavior?
Sitecore Stack Exchange is a question and answer site for developers and end users of the Sitecore CMS and multichannel marketing software. It only takes a minute to sign up.Sign up to join this community
In SXA you don't need it to set it programmatically. SXA is designed with zero code approach, and almost everything is possible without editing the code.
for DLLm Check the
Before you create a new Website in Tenant, just add the new language you desire, for example Arabic. Go to `/sitecore/system/Languages/' and add the new language
Select Arabic and proceed till completion.
Once added, Go to your tenant, and create a new Site, There you will see the language you just created.