Customize language


1. Customize language

1. Customize language

When your app goes international, you might need to provide your app in different languages for your users. Our iOS SDK natively supports the following languages:

  • English
  • Simplified Chinese
  • Traditional Chinese
  • Japanese
  • German
  • French
  • Spanish

If you would like to add languages other than the above support languages, in Zoom SDK, you can define the string resource in Localizable.string file.

Step 1: Locate the Localizable.string file, normally it is located in /Supporting Files/Localizable.strings:

Step 2: Change the desired sentence to be the new string, our default file does not contain all strings, you can add new string as long as the string matches the string shown in the UI. For example:

Step 3: Build and run your applicatin, and you can see your changes shown in the UI:

The key point is: The key of the string should be matched with the one in Zoom SDK UI, for example:

"Waiting..." = "Sample Waiting...";
"Zoom" = "SDK Sample";
"Leave" = "Exit";
"Leave Meeting" = "Exit Meeting";

You can edit the strings to be your own version and you can set up the languages by doing the following:

  1. Get supported language, currently our SDK supports the following languages: English, German, Spanish, Japanese, French, Chinese Simplified, Chinese Traditional.
self.languageArray = [[MobileRTC sharedRTC] supportedLanguages];
  1. You can pass the associated language type in the languageArray to setLanguage function to change language:
[[MobileRTC sharedRTC] setLanguage:_languageArray[number]];
  1. If the above methods do not fit your request, for example, if you would like to add a new language other than our default supported languages, you can use the following method to set the localized string table for SDK.
@property (retain, nonatomic, readonly) NSString *mobileRTCCustomLocalizableName;

- (void)setMobileRTCCustomLocalizableName:(NSString *)localizableName;