Description
Our application has a language switch (English and Japanese) functionality. So, even during the meeting or before joining the meeting, the user can switch languages. The default language set depends on the user type. All Zoom buttons work fine except the “Settings” button.
For example, when joining the meeting, the language is set to Japanese and all the buttons are shown in Japanese except for the Settings button which will be displayed in English by default.
Moreover, if you click on the Settings button, it will change the language to the one currently set. So, is it a possible rendering issue? But, why only the Settings button is left out?
Browser Console Error
None
Which Web Meeting SDK version?
We noticed it from v.2.4.5
Meeting SDK Code Snippets
None
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Set the language to Japanese
- Join the meeting
- Check the Settings button
Actual Result:
The settings button is shown in Engish
- Click on the Settings button
Actual Result:
Settings button language changes to Japanese
Screenshots
Device (please complete the following information):
- Device: Windows, Mac, Chromebook, ChromeBox
- Browser: Chrome
- Browser Version: latest
Additional context
Here are some snippets of our implementation.
// Adding customized Japanese translations
const defaultJapaneseTemplate = require(`@zoomus/websdk/dist/lib/lang/${LANGUAGE_JAPANESE}.json`);
const customizedLangTemplate = {
...defaultJapaneseTemplate,
'apac.wc_leave_pc_audio': 'オーディオを終了',
'apac.wc_join_audio_by_pc': 'オーディオに参加',
.......
}
.......
constructor({ lang, ...config }) {
this.config = { ...config, ...defaultConfig };
// Load languages first
ZoomMtg.i18n.load(customizedLangTemplate, LANGUAGE_JAPANESE_GO);
ZoomMtg.i18n.load(LANGUAGE_ENGLISH);
ZoomMtg.i18n.reload(lang);
ZoomMtg.reRender({ lang });
}
Is it a bug or are we just missing something in our implementation?
Thanks,
Lara