To give you more control over email and SMS verification messages, we changed how the initSelfRegistration method detects a user’s language. You can now specify a language in the User object to guarantee that verification messages use the correct language.
Where: This change applies to Aura, LWR, and Visualforce sites accessed through Lightning Experience and Salesforce Classic in Enterprise, Performance, Unlimited, and Developer editions.