Localization - adform/adform-ios-sdk GitHub Wiki

Localizing SDK strings

Adform SDK allows publishers to localize texts used in ad views. These texts may be localized using two methods:

  1. By setting localized texts through AdformSDK shared instance. This method is convenient when an application uses custom localization and allows users to select the language in-app. In this case, you should set localized texts on application launch and every time when the user changes the app language.

Swift

AdformSDK.setLocalizedString("Skip", forKey: AFSkipLocalizationKey)
Objective-C
[AdformSDK setLocalizedString:@"Skip" forKey:AFSkipLocalizationKey];
  1. By using default app localization through Localizable.strings and NSLocalizedString macro. You can just add strings used by SDK to your localized strings files and SDK will use them automatically.

At the moment SDK provides these texts for translation:

"AFSkipLocalizationKey" = "Skip";
"AFSkipInLocalizationKey" = "Skip in";
⚠️ **GitHub.com Fallback** ⚠️