SAML login i18n

Hi,

Using lock on the login / sign up page, it’s possible to define the language this way.

language: defineLanguage(),

Having the website using the same domain as the auth0 tenant (with different subdomain), I guess I will be able to read a cookie from the defineLanguage method, right?
(Domain name is not already done on my tenant, I’m waiting for the cert from another team)

Any solution for an application which would not be sharing the domain name ?

Regards,
Grégory