Update Localization Configuration

It is possible to customize the text for each UI element within the SDK. We currently support the English language only, if you want to include other languages, you must override the localizationConfig parameter. For example:

Copy
Copied
var localizationConfig = SinchSDKConfig.LocalizationConfig.defaultValue
localizationConfig.disabledChatMessageText = NSLocalizedString("errorMessage", comment: "")

let viewControler = try SinchChatSDK.shared.chat.getChatViewController(uiConfig: .defaultValue,
                                                                       localizationConfig: localizationConfig)
We'd love to hear from you!
Rate this content:
Still have a question?
 
Ask the community.