> ## 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.

# ロケールのトラッキング

> MoEngage SDKを使用して、iOSアプリでユーザーのデバイスのロケール設定をトラッキングします。

ユーザーのデバイスのロケール設定をトラッキングするには、以下のように [*trackLocale()*](https://moengage.github.io/ios-api-reference/Classes/MoEngageSDKAnalytics.html#/c:@M@MoEngageAnalytics@objc\(cs\)MoEngageSDKAnalytics\(im\)trackLocale) メソッドを使用します。

<CodeGroup>
  ```swift Swift wrap theme={null}
  MoEngageSDKAnalytics.sharedInstance.trackLocale()
  ```

  ```objective-c Objective C wrap theme={null}
  [[MoEngageSDKAnalytics sharedInstance] trackLocale];
  ```
</CodeGroup>
