I am looking for some help on setting up multi-lan...
# suitecommerce
k
I am looking for some help on setting up multi-language in SuiteCommerce Configuration. On the Multi-Domain > Hosts sub tab under the Languages table, the first column is “Host ID”. What information needs to be placed here? Is it the domain name or Website Setup record “Internal Name”? See screenshot. Based on NetSuite help, you must have a unique domain for each language. I have seen SCA websites that had a language dropdown field in the header and the domain was the same. Can you configure SCA to use multiple languages using the same domain? Thanks a lot for the help.
k
The multi domain tab assumes you are using multi-currency as well. To have a language selector on the same domain we had to create a customization
k
@kkennedydesign thank you for the response. Did you customization set the locale? I remember doing this a while back for Kilimanjaro.
@kkennedydesign Do you know what data is suppose to be put in the Host ID field in the Hosts tab? I wasn’t able to find any documentation on what the values are suppose to be. Have you found any articles on setting up multi-language in SCA or configuring SuiteCommerce Configuration?
k
I know we have successfully set the host ID but I can’t recall without a little digging what it was….it maybe the domain. Our customization basically changes the language parameter.
k
@kkennedydesign thanks. This is very helpful
f
Hi @Keith Fetterman. If you are only using multi language don´t worry about it. The Host ID is used to map languages and currencies. This is a screenshot of one of my test accounts. I think it will give you an idea.
k
Hi @Flo Thank you for the response. I got it working. :)
@kkennedydesign in your earlier post, you mentioned that you configured multiple languages with a single domain via a customization. Did that customization work with CMS? Based on what I’ve read in NetSuite Help, it appears that SCA does not support multiple languages for a single domain. I know we’ve customized SCA (Kilimanjaro version) to have multiple languages for a single domain, but we only used the language files. We didn’t use the multi-domain in SC Configuration and we didn’t use CMS. I am wondering if you were able to get multiple languages to work for a single domain with CMS.
k
not sure about the current version, but we were able to have different content based on language by adding a dynamic cms id based on the locale. we havent done this with a current version where translations are built in to cms.
k
@kkennedydesign thanks for the feedback.
@Flo and @Steve Goldberg, I am trying to find out if SCA and SMT will support multiple languages for a single domain. I know the NetSuite documentation says that that a separate domain must be defined for each language, but this restriction may be limited to “out of the box” SCA functionality. Through customizations we have implemented multiple languages for a single domain in Kilimanjaro, but we didn’t use SMT. I need to get a definitive answer if SMT supports multiple languages with a single domain. Do you know someone in NetSuite that I can contact to find out?
s
I don't know if I can give you a definitive answer. My suggestion would be to raise a support case, or if you have ACS / APS, talk to them
My understanding is that a separate site per domain is optional. You can have multiple published languages running from the same site, and you could have a language preferences saved for each customer. When those customers log in, they will see translated content for them. But yes, I don't know whether that applies to SMT content. Surely it should be quite straightforward to test?
I just did a quick test with CMS Text content and it translated it for me
From a single domain
I think multi-domain is only really valuable if you plan to offer a completely separate experience for customers in a region or if you want it indexed in that language in search engines
I don't think it's strictly necessary
k
@Steve Goldberg how did you configure the website to have multiple languages for a single domain? I tried this yesterday by assigning two languages to the same domain in SC Configuration and it always displayed the second language. It’s possible I didn’t configure it correctly or I’m missing something. Can you send me a screenshot or two of how you configured it?
s
Have you made the language available via the website setup record?
I have nothing in SC Configuration record because I am not running separate domains
Although this means that no language widget shows
I think you can force a language change by doing ?lang=[language_code]
Doesn't seem to register the language when the customer registers though. You would probably need to write something to set it
k
@Steve Goldberg. Thanks this helps a lot. I will test a single domain by changing the language URL parameter. Basically, that’s what we did with the Kilimanjaro version. Once the language was set via the parameter, it was sticky until we set a new parameter
I’ll test what happens in SMT