Source: https://nishanth-fern-test.docs-staging.pageloop.ai/web/configure-locale-identification-rules

# Configure Locale identification rules

Advanced customization 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:

1. On the Whatfix Guidance dashboard, click **Settings**. ![ia\_left\_nav\_settings](/images/b8/ia_left_nav_settings-b868cdaa.png)

2. Click **Advanced customisation**. ![ia\_settings\_advanced configuration](/images/c0/ia_settings_advanced-configuration-c0ca1bbb.png)

3. Click **User rules**. ![click\_user\_rules](/images/54/click_user_rules-544a0282.png)

4. Click **Create**. ![set user\_create rule.png](/images/34/set-user_create-rule-3423cf54.png)

5. Select **Locale identification**, and then click **Continue**. ![Image](/images/a7/image-ZTT8NMON-a71827ec.png)

6. Add a **Rule Title**. ![Image](/images/d0/image-FXNHJO9M-d07b4334.png)

7. In the **Where** section, select where you want the rule to take effect. ![ac\_set user\_select where.png](/images/16/ac_set-user_select-where-164f354e.png)

> [!INFO]
>
> - Based 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.
> - For more information, see [Fetch and process information for identification rules](/web/fetch-and-process-information-for-identification-rules).

1. 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. ![ac\_set user\_select fetcher.png](/images/c1/ac_set-user_select-fetcher-c18fbfd4.png)
2. 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](/web/fetch-and-process-information-for-identification-rules). ![ac\_set user\_select processor.png](/images/bc/ac_set-user_select-processor-bc8c41e0.png)

> [!WARNING]
>
> - Add multiple processors to parse the fetched value. Click **Add Processor** to add another parsing method. ![ac\_set user\_add processor.png](/images/c2/ac_set-user_add-processor-c25d1a1a.png)
> - Click **Add Sequence** to add more identifiers. Fetch a different value and parse it for another unique identification rule. ![ac\_set user\_add sequence.png](/images/ce/ac_set-user_add-sequence-ce241d47.png)

1. Click **Save**. ![Image](/images/7c/image-HA9M24AJ-7cc68fce.png)

## Related

- [Map language codes to your custom locale rule](/web/map-language-codes-to-your-custom-locale-rule)
