guan_bj
(power)
May 2, 2020, 3:39pm
1
Description
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:
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’.
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!
guan_bj
(power)
May 7, 2020, 10:30am
3
Hi Carson
Thanks your help. I got over this problem with your solution.
Glad to hear that it is working. Happy Zooming!