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

# Tracking Locale

<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/\[android-jvm]-mo-e-analytics-helper/track-device-locale.html).

<CodeGroup>
  ```Kotlin Kotlin wrap theme={"theme":{"light":"github-light","dark":"github-dark"}}
  MoEAnalyticsHelper.trackDeviceLocale(context)
  ```

  ```Java Java wrap theme={"theme":{"light":"github-light","dark":"github-dark"}}
  MoEAnalyticsHelper.INSTANCE.trackDeviceLocale(context);
  ```
</CodeGroup>
