How to update UI String resource in SDK 4.6.21666.0427

in preview version SDK I always modify UI String through updating zWinRes.dll file. But I can’t do it in latest sdk. once I update zWinRes.dll’s string resource, onAuthenticationReturn callback won’t be called.

I can’t totally understand this document. I tried define the same ID String in sdk_demo_v2.rc, but I can’t change UI String.

Is it possible to update UI String in new sdk ?

1 Like

Hi guan_bj,

Thanks for the post. To customize the UI String resource, here are the steps:

  1. Set the customized resource file; Please note that you could only customize the text, do not modify the ID or any formatting pattern such as ‘%s’.
  2. Set the language ID

Here is a code snippet that could be helpful:

ZOOM_SDK_NAMESPACE::InitParam initParam;
initParam.obConfigOpts.customizedLang.langName= "customized_resource.xml";
initParam.obConfigOpts.customizedLang.langInfo= "D:\\ customized_resource.xml";
initParam.obConfigOpts.customizedLang.langType = ZOOM_SDK_NAMESPACE::CustomizedLanguage_FilePath;
initParam.emLanguageID = ZOOM_SDK_NAMESPACE::LANGUAGE_English;
ZOOM_SDK_NAMESPACE::InitSDK(initParam, true);

Hope this helps. Thanks!

Hi Carson
Thanks your help. I got over this problem with your solution.

Glad to hear that it is working. Happy Zooming! :slight_smile: