Select platform: [HTML5](https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/localization.md.txt "View this page for the HTML5 platform docs.") [Android](https://developers.google.com/interactive-media-ads/docs/sdks/android/client-side/localization.md.txt "View this page for the Android platform docs.") [iOS](https://developers.google.com/interactive-media-ads/docs/sdks/ios/client-side/localization.md.txt "View this page for the iOS platform docs.") [tvOS](https://developers.google.com/interactive-media-ads/docs/sdks/tvos/client-side/localization.md.txt "View this page for the tvOS platform docs.")

## Specify a locale

The IMA SDK lets you specify the language to be used to localize ads and
the player UI controls. To do so, set the `language` parameter of
[IMASettings](https://developers.google.com/interactive-media-ads/docs/sdks/ios/client-side/reference/Classes/IMASettings.md.txt) to the appropriate
[language code](https://developers.google.com/interactive-media-ads/docs/sdks/ios/client-side/localization.md.txt#locale-codes) and include those settings when initializing the
[AdsLoader](https://developers.google.com/interactive-media-ads/docs/sdks/ios/client-side/reference/Classes/IMAAdsLoader.md.txt).

### Objective-C

```objective-c
- (void)createAdsLoader {
  IMASettings *settings = [[IMASettings alloc] init];
  settings.language = "en";
  self.adsLoader = [[IMAAdsLoader alloc] initWithSettings:settings];
}
```

### Swift

```swift
func createAdsLoader() {
  let settings = IMASettings()
  settings.language = "en"
  self.adsLoader = IMAAdsLoader(settings: settings)
}
```

## Locale codes

IMA supports the following locale codes:

| Language | Country code |
|---|---|
| Afrikaans | `af` |
| Amharic | `am` |
| Arabic | `ar` |
| Arabic (Egypt) | `ar_eg` |
| Arabic (Saudi Arabia) | `ar_sa` |
| Basque | `eu` |
| Belarusian | `be` |
| Bengali | `bn` |
| Bulgarian | `bg` |
| Catalan | `ca` |
| Chinese (Simplified) | `zh` |
| Chinese (Simplified, China) | `zh_cn` |
| Chinese (Traditional, Hong Kong) | `zh_hk` |
| Chinese (Traditional, Taiwan) | `zh_tw` |
| Croatian | `hr` |
| Czech | `cs` |
| Danish | `da` |
| Dutch | `nl` |
| English | `en` |
| English (Australia) | `en_au` |
| English (Canada) | `en_ca` |
| English (United Kingdom) | `en_gb` |
| English (Ireland) | `en_ie` |
| English (India) | `en_in` |
| English (Singapore) | `en_sg` |
| English (South Africa) | `en_za` |
| Estonian | `et` |
| Farsi | `fa` |
| Filipino | `fil` |
| Finnish | `fi` |
| French | `fr` |
| French (Canada) | `fr_ca` |
| French (Switzerland) | `fr_ch` |
| Galician | `gl` |
| German | `de` |
| German (Austria) | `de_at` |
| Greek | `el` |
| Gujarati | `gu` |
| Hebrew | `he` |
| Hindi | `hi` |
| Hungarian | `hu` |
| Icelandic | `is` |
| Indonesian | `id` |
| Italian | `it` |
| Japanese | `ja` |
| Kannada | `kn` |
| Korean | `ko` |
| Lao | `lo` |
| Latvian | `lv` |
| Lingala | `ln` |
| Lithuanian | `lt` |
| Malay | `ms` |
| Malayalam | `ml` |
| Marathi | `mr` |
| Norwegian | `no` |
| Polish | `pl` |
| Portuguese | `pt` |
| Portuguese (Brazil) | `pt_br` |
| Portuguese (Portugal) | `pt_pt` |
| Romanian | `ro` |
| Russian | `ru` |
| Serbian | `sr` |
| Slovak | `sk` |
| Slovenian | `sl` |
| Spanish | `es` |
| Spanish (Latin America) | `es_419` |
| Spanish (Argentina) | `es_ar` |
| Spanish (Chile) | `es_cl` |
| Spanish (Colombia) | `es_co` |
| Spanish (Costa Rica) | `es_cr` |
| Spanish (Dominican Republic) | `es_do` |
| Spanish (Ecuador) | `es_ec` |
| Spanish (El Salvador) | `es_sv` |
| Spanish (Guatemala) | `es_gt` |
| Spanish (Honduras) | `es_hn` |
| Spanish (Mexico) | `es_mx` |
| Spanish (Nicaragua) | `es_ni` |
| Spanish (Panama) | `es_pa` |
| Spanish (Peru) | `es_pe` |
| Spanish (Puerto Rico) | `es_pr` |
| Spanish (Paraguay) | `es_py` |
| Spanish (United States) | `es_us` |
| Spanish (Uruguay) | `es_uy` |
| Spanish (Venezuela) | `es_ve` |
| Swahili | `sw` |
| Swedish | `sv` |
| Swiss German | `gsw` |
| Tagalog | `tl` |
| Tamil | `ta` |
| Telugu | `te` |
| Thai | `th` |
| Turkish | `tr` |
| Ukrainian | `uk` |
| Urdu | `ur` |
| Vietnamese | `vi` |
| Zulu | `zu` |