Native Fusion Integration for Language
If you have integrated via the native Fusion method, here is how to get additional languages working in your appId
Instructions
On the Configure Guided Learning page in Fusion
- In the Customer Script field in the Advanced Settings section
- Enter:
iridize.supported_langs = ['--', 'ja','es'];
iridize.lang = document.documentElement.lang == 'en' ? '--' : document.documentElement.lang;
iridize.lang = iridize.supported_langs.indexOf(iridize.lang) >= 0 ? iridize.lang : '--';
- Replacing ja and es with whatever languages you want using the two letter abbreviation. Here is a link to the language abbreviation naming convention
Note: make sure you add your required languages in the 1st line of code, '-- ' always needs to be there.