Hi! When using multi-language feature, we are forc...
# suitecommerce
s
Hi! When using multi-language feature, we are forced to use one domain per language correct? So, is there a way to keep the session between multiple domains when using multi-language feature? Otherwise how can customers select and change their own website language?
s
1. You are not forced, but it is strongly recommended. Using multiple languages on a single domain has historically been problematic, primarily because the application can forget if the user has selected a non-default language. However, I have seen some customer sites who have opted to do it anyway, such as Canadian sites who want one site for both French and English. 2. No, sessions are not preserved across domains. Customers choose their language by using the language selection widget, which transports them to another host (associated with that language)
The workarounds for point 1 that I have seen include setting a language preference in a cookie and then checking for that language whenever the application loads. This is doable on SCA, for sure, but I don't know how doable it would be for SC.
s
Thank you Steve 👍
Sorry @Steve Goldberg, I forgot to ask. Can you elaborate on point 1. What exactly is the problem of not having a default language selected?
s
That's not what I was hinting at. The problem is that on single-domain multi-language sites, switching the user's language can get 'forgotten' by the site/session, which reverts their choice back to the site's default language
For example, I might do lang=es_AR, and reload the site and it will be in Spanish. Then I will go to the checkout and it will be in English again, because that is the site default
👍 1