- 05 Sep 2024
- 1 Minute To Read
-
Print
-
DarkLight
-
PDF
Configure Locale identification rules
- Updated On 05 Sep 2024
- 1 Minute To Read
-
Print
-
DarkLight
-
PDF
Advanced customisation enables you to add custom rules to identify your language preferences directly using the Whatfix user interface. Configure Whatfix to adapt to your language preferences and provide a localized experience to your end users.
Use the following steps to configure a custom locale identification rule:
-
On the Whatfix Guidance dashboard, click Settings.
-
Click Advanced customisation.
-
Click Locale identification.
-
Click Create Rule.
-
Add a Rule Title.
-
In the Where section, select where you want the rule to take effect.
your title goes hereBased on where you want the rule to take place, set up any visibility conditions. For example, to enable the rule across all pages of your application, choose All Pages as type.
-
In the What section, configure how Whatfix identifies users. In the Where do you want to fetch the user from? dropdown, select the user value that defines the user. For example, if each locale has a unique identifier based on a value from the local storage value, select From Local Storage as fetcher. For more information, see Fetch and process information for identification rules.
-
In the How do you want to process it? dropdown, parse the fetched value using JSON or String Operations. For more information, see Fetch and process information for identification rules.
your title goes here-
Add multiple processors to parse the fetched value. Click Add Processor to add another parsing method.
-
Click Add Sequence to add more identifiers. Fetch a different value and parse it for another unique identification rule.
-
-
Click Save.