Source: https://nishanth-fern-test.docs-staging.pageloop.ai/mobile/how-to-show-in-app-guidance-based-on-the-users-device-language

# How to show in-app guidance based on the user's device language?

Whatfix enables you to target in-app experiences to users based on their device language. Create [User Segments](/mobile/user-segment) to group users who share the same device language and target the in-app experience to them. The segments can be created by defining the **Device Language** [User Property](/mobile/what-is-a-user-property).

Use the following steps to create a User Segment based on the device language:

Consider that you want to create a User Segment to show the in-app experience to users with French as their device language.

1. On the Whatfix Mobile Dashboard, select an app. ![dashboard\_select\_app](/images/16/dashboard_select_app-167c5b1e.png)
2. In the navigation panel, click **User Segments**. ![mobile\_click user segments](/images/e1/mobile_click-user-segments-e19488bc.png)
3. Click **+ Create Segment**. ![mobile\_new segment](/images/f5/mobile_new-segment-f5e24796.png)
4. Click **Create user segment**. ![mobile\_click create user segment](/images/86/mobile_click-create-user-segment-86181dca.png)
5. Enter a name for the user segment. Example: Content for French users. ![mobile\_enter name](/images/af/mobile_enter-name-af479e0b.png)
6. Click **Add Rules**. ![mobile\_user segment\_add rules](/images/b1/mobile_user-segment_add-rules-b14ed9a5.png)
7. Click the **Device Language** property. ![device\_lang](/images/7c/device_lang-7cfb5ce5.png)
8. In the **Segment Rules** section, select the operator using the dropdown. ![device\_lang\_condition](/images/4d/device_lang_condition-4d3d960d.png)
9. Enter the language code. Example: fr ![device\_lang\_code](/images/86/device_lang_code-86bdd442.png)

         Info

         

For more information on the language codes used for different languages, refer to the following articles:

- Android: [Device Localization codes](https://developers.google.com/interactive-media-ads/docs/sdks/android/client-side/localization#locale-codes)
- iOS: [Device Localization codes](https://www.loc.gov/standards/iso639-2/php/English_list.php)

1. Click **Create segment**. ![create\_segment](/images/8e/create_segment-8ed7abbf.png)
2. Create and design the in-app experience.
3. Once you are ready to make the project live, click **Publish**. ![dashboard\_publish](/images/95/dashboard_publish-951a663c.png)
4. Click **Publish directly**. ![studio\_publish\_directly](/images/b8/studio_publish_directly-b86d2f3e.png)
5. In the **TARGET** tab, under the **User segment** section, choose the segment you created. ![french\_user\_segment](/images/03/french_user_segment-030c92c4.png)
6. Click **Go to configure**. ![go\_to\_configure](/images/09/go_to_configure-09b12656.png)
7. In the **CONFIGURATION** tab, select your rollout percentage. ![rollout](/images/18/rollout-1895670d.png)

         Info

         

This helps you publish your project to a percentage of your user segment.

1. If you are creating multiple projects and want them to appear in a particular order, select **Priority**. (Priority 1 > 2 > 3 > n). ![priority](/images/72/priority-72957363.png)
2. Click **Go Live**. ![dashboard\_config\_go\_live](/images/d4/dashboard_config_go_live-d403e923.png)

         Info

         

The in-app experience is published for users with French as their device language.
