Site Language Override
By default, the Faslet Size Me Up Virtual Assistant uses the user's current browser language to determine the language to show. While this is a generally good user experience for most cases, we understand that often our partners have a language selector on their store.
Locale Parameter
Depending on your platform, Faslet provides the ability to pass an optional locale
parameter to the Size Me Up Virtual Assistant. This parameter can be any standard 2 letter ISO-639-1 language code,
however the current list of support languages is limited to English (en), Dutch (nl), German (de), Spanish (es), French (fr), Danish (da), Swedish (sv) and Norwegian Bokmål (nb).
Specifying a code that is not currently supported will default/fallback to English (en).
Custom Snippet
When using the snippet directly, it can be specified on the faslet-app
tag as follows:
<faslet-app
...
locale="LOCALE"
></faslet-app>
NPM
widget.withLocale(LANGUAGE);
React
<FasletWidget
...
locale="LOCALE"
/>
PHP
$widget->withLocale(LOCALE)
This is currently not possible in WooCommerce.
Help
In case of any questions, please don’t hesitate to contact us on support@faslet.me