I’m currently working on customization the Auth0 Classic Universal Login pages and emails, and localization is an important part of that, we want to communicate with users in their preferred language.
According to https://auth0.com/docs/architecture-scenarios/implementation/b2c/b2c-profile-mgmt#user-metadata, we should store users’ language preferences in the user metadata:
Store any information that you want use to customize Auth0 emails in metadata and preferably
user_metadataif the user is allowed to change it, such as information used to determine the language for an email.
- Is there a recommended/prescribed name for a language preference field?
languageor something else entirely?
- What should be stored in the field in order for it to be picked it up correctly?
en-USor some other form of language specifier?