We've run into some problems for our MultiSite Spartacus setup when doing I18n.
We'd like to have different translations for each site, so we put these on an API that can give back the messages dependent on the baseSite, eg:
backend.org/baseSiteX/messages?group=common
But the Spartacus setup doesn't let us pass the baseSite? We can pass{{lng}}and{{ns}}, but no baseSite.
See https://sap.github.io/spartacus-docs/i18n/#lazy-loading We'd could do it by overridingi18nextInit, but I'm unsure how to achieve this.In the documentation, it says you can use
crossOrigin: truein the config, but that does not seem to work. The type-checking say it's unsupported, and it still shows uw CORS-issues
Does someone have ideas for these problems?