> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Tracking Locale

> Optionally track the device locale in your Android app using the MoEngage SDK.

<Info>
  **Optional**

  This is optional and only required if you wish to track the locale.
</Info>

SDK by default does not track locales. To track the Locale set for the given JVM instance call [MoEAnalyticsHelper.trackDeviceLocale()](https://moengage.github.io/android-api-reference/core/com.moengage.core.analytics/-mo-e-analytics-helper/track-device-locale.html).

<CodeGroup>
  ```Kotlin Kotlin wrap theme={null}
  MoEAnalyticsHelper.trackDeviceLocale(context)
  ```

  ```Java Java wrap theme={null}
  MoEAnalyticsHelper.INSTANCE.trackDeviceLocale(context);
  ```
</CodeGroup>
