# SDK 1.8.5 - Breaking change - Local version broken due to i18n changes

**URL:** <https://devforum.zoom.us/t/sdk-1-8-5-breaking-change-local-version-broken-due-to-i18n-changes/39051>\
**Category:** Web\
**Created:** [December 23, 2020, 2:52am UTC](https://devforum.zoom.us/t/sdk-1-8-5-breaking-change-local-version-broken-due-to-i18n-changes/39051 "2020-12-23T02:52:43Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [December 23, 2020, 2:52am UTC](https://devforum.zoom.us/t/sdk-1-8-5-breaking-change-local-version-broken-due-to-i18n-changes/39051/1 "2020-12-23T02:52:44Z")

</div>

**Description**

With SDK 1.8.5, you applied changes on the language handling (i18n changes mentioned in your change log post)  
I have correctly applied changes on the code to load the specific languages and apply customization, this is fine.

Unfortunately, for local versions, instead of using the custom lib path specified by the following line:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/3/d3e1ce2298443be8535f28852faa3395ee4d0c93.png)

It tries to access the default location to find language json resources (node\_modules/@zoomus/websdk/dist/lib/lang/en-US.json as an example)

This provoke the following error and prevent from the Zoom component to correctly load translation, breaking the application.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/1/c10ef4c56d329b530bbe689cca79044ef26a5039.png)

New i18n module should use the custom lib path.

Could you please have a look at it ASAP ?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 23, 2020, 11:05pm UTC](https://devforum.zoom.us/t/sdk-1-8-5-breaking-change-local-version-broken-due-to-i18n-changes/39051/2 "2020-12-23T23:05:09Z")

</div>

Hey @nvivot,

Sorry to hear you are having trouble with the language configurations in the new update.

In your custom path, have you tried adding the `lang` folder?

 ![Screen Shot 2020-12-23 at 4.03.54 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/b/4b831223a0c2d8c43b4e0baf361683cb1f7965e1.png)

Also, are you using the `ZoomMtg` var to set the language settings?

> **[Multi-Language Support - Advanced Guides - Web - Client SDKs - Zoom Software...](https://marketplace.zoom.us/docs/sdk/native-sdks/web/advanced/multi-language)**
>
> Multi-Language Support
> 
> Set the supported language of the Web UI using i18n (short for ‘internationalization’) as a resource for managing global languag...

In the meantime, I have notified our Web SDK engineers and they are looking into this.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [December 23, 2020, 11:39pm UTC](https://devforum.zoom.us/t/sdk-1-8-5-breaking-change-local-version-broken-due-to-i18n-changes/39051/3 "2020-12-23T23:39:44Z")

</div>

Hey @tommy,

Yes, everything from the lib directory is embedded in our docker image and available on the custom hosted path of the application: wasm, js, css, audio & json files.

I already updated the code to use ZoomMtg. The application works when using CDN but not local (reported error above)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 28, 2020, 5:50pm UTC](https://devforum.zoom.us/t/sdk-1-8-5-breaking-change-local-version-broken-due-to-i18n-changes/39051/4 "2020-12-28T17:50:16Z")

</div>

Hey @nvivot,

Thank you for confirming. We are fixing this in version 1.8.6 set for early Jan. (CS-2720, )

-Tommy

---

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [December 29, 2020, 2:28am UTC](https://devforum.zoom.us/t/sdk-1-8-5-breaking-change-local-version-broken-due-to-i18n-changes/39051/5 "2020-12-29T02:28:20Z")

</div>

Hi @tommy,

Can we know if this 1.8.6 will be released before the 10th january deadline ?

---

<div class="post-metadata">

**Author:** ![JackYang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jackyang/32/1135_2.png) [@JackYang](https://devforum.zoom.us/u/JackYang)\
**Post date:** [December 29, 2020, 11:20am UTC](https://devforum.zoom.us/t/sdk-1-8-5-breaking-change-local-version-broken-due-to-i18n-changes/39051/6 "2020-12-29T11:20:25Z")

</div>

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/9/197b0d5c88780236980e39b92c57a530225d2215.png) websdk will use cookie

> \_zm\_lang

load default JSON [http://localhost:9999/node\_modules/@zoomus/websdk/dist/lib/lang/en-US.json](http://localhost:9999/node_modules/@zoomus/websdk/dist/lib/lang/en-US.json) for local version websdk loaded success.

I copy node\_modules/@zoomus/websdk to websdk for testing  
after I set

> ZoomMtg.setZoomJSLib(‘/websdk/dist/lib’, ‘/av’);  
> ZoomMtg.i18n.load(‘en-US’); // load [http://localhost:9999/websdk/dist/lib/lang/en-US.json](http://localhost:9999/websdk/dist/lib/lang/en-US.json)  
> ZoomMtg.i18n.reload(‘en-US’);

so you will see send two request en-US.json  
I’m not sure whethe you say first request en-US.json not use you specific path. if yes, you can ingore this request.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/e/9e1a2149e53d76e760360ac74a6e29b1a2534a19.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/d/7d18408aef07f0250ae00c301a03033d3a99c857.png)

---

<div class="post-metadata">

**Author:** ![JackYang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jackyang/32/1135_2.png) [@JackYang](https://devforum.zoom.us/u/JackYang)\
**Post date:** [December 29, 2020, 11:38am UTC](https://devforum.zoom.us/t/sdk-1-8-5-breaking-change-local-version-broken-due-to-i18n-changes/39051/7 "2020-12-29T11:38:52Z")

</div>

some develop framework block access node\_modules resource, it will cause 404 issues, please confirm.

---

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [December 30, 2020, 2:10am UTC](https://devforum.zoom.us/t/sdk-1-8-5-breaking-change-local-version-broken-due-to-i18n-changes/39051/8 "2020-12-30T02:10:47Z")

</div>

Hi @JackYang,

Thank you for your reply.  
So if i understand correctly, right now there is no way to avoid this 404 not found when we do not allow to access node\_module (no public access). In our case, yes we do not make node\_module public on our application, and publish public resources on the custom URL instead (and only there)

**If this is coming from the cookie, is there a future patch to “fix” it and use the custom library path instead so that no more 404 is generated when starting the zoom web SDK ?**

About breaking changes, i realize that a ZoomMtg.reRender() was missing after loading the languages, therefore not displaying in Japanese but English when JP is the default language.

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/e/7e09e5bf4a6697dd6408695a20d179cb70afa697.png)

So, **this is still an issue (minor one) since it generate 404 for nothing, but definitely not a breaking change anymore**.  
Thank you again for your detailed answer.

---

<div class="post-metadata">

**Author:** ![JackYang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jackyang/32/1135_2.png) [@JackYang](https://devforum.zoom.us/u/JackYang)\
**Post date:** [December 30, 2020, 2:31am UTC](https://devforum.zoom.us/t/sdk-1-8-5-breaking-change-local-version-broken-due-to-i18n-changes/39051/9 "2020-12-30T02:31:08Z")

</div>

yes, we plan fix 404 issue…

the reRender API only works after joined meeting.  
it means you can switer UI language in meeting.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/1/e1b4ed1c130ff30082de0c61468e5475278743f3.png)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [January 11, 2021, 6:58pm UTC](https://devforum.zoom.us/t/sdk-1-8-5-breaking-change-local-version-broken-due-to-i18n-changes/39051/10 "2021-01-11T18:58:13Z")

</div>

Hey @nvivot ,

This should now be fixed. Please upgrade to version 1.8.6:

> [@Web SDK update version 1.8.6](https://devforum.zoom.us/t/web-sdk-update-version-1-8-6/40245):
>
> Hello Zoom Developers, here are the updates for the Web SDK version 1.8.6 release : Bug Fixes Fixed Attendee cannot join in to BreakOut Room when “Enable Waiting Room” is enabled. [Fixed Attendee Leaves meeting show 'trying to reconnect’.](https://devforum.zoom.us/t/sdk-1-8-5-zoom-component-try-to-reconnect-after-leaving-a-meeting-instead-of-closing/39062)[Fixed Joined audio user can’t show waiting room when be put on hold.](https://devforum.zoom.us/t/waiting-room-is-not-displayed-when-user-is-put-on-hold/31951)[Fixed Android Chrome Audio don’t work.](https://devforum.zoom.us/t/audio-not-working-in-mobile-1-8-5/39332) Fixed Audio stops working when High-Fidelity/Stereo Mode is Enabled. [Fixed Start Video Black Screen in Mac When Only One attendee.](https://devforum.zoom.us/t/error-start-video-for-first-participant/34917) Fixed “The host mute/…

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [January 13, 2021, 4:53am UTC](https://devforum.zoom.us/t/sdk-1-8-5-breaking-change-local-version-broken-due-to-i18n-changes/39051/11 "2021-01-13T04:53:14Z")

</div>

i confirm this is now fixed.

Thank you.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [January 13, 2021, 7:07pm UTC](https://devforum.zoom.us/t/sdk-1-8-5-breaking-change-local-version-broken-due-to-i18n-changes/39051/12 "2021-01-13T19:07:57Z")

</div>

Thanks for confirming @nvivot ! 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [February 13, 2021, 5:08am UTC](https://devforum.zoom.us/t/sdk-1-8-5-breaking-change-local-version-broken-due-to-i18n-changes/39051/13 "2021-02-13T05:08:03Z")

</div>

Closed on February 13, 2021, 5:08am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
