Select to view content in your preferred language

Missing Korean Message File in CDN-hosted Calcite Components (v3.0.2) Causing Custom Widget Failure

130
2
4 weeks ago
tasubasu
Occasional Contributor

We have encountered an issue with a custom widget being used in Experience Builder where both the load and save functions fail to operate. We are using CDN-hosted calcite-components asset in our custom widget. After some investigation, it appears that the problem stems from using the CDN-hosted assets for esri calcite-components version 3.0.2. It has been working fine, but recently, the widget stopped functioning. We found that version 3.0.2 fails to locate message_ko.json.

tasubasu_0-1739863521736.png

The Korean language message file, which is required for proper localization, seems to be missing from the CDN version (v3.0.2) of the calcite-components assets. When the widget attempts to load this file, it encounters an error that prevents the widget from functioning correctly.

Our current custom widget code:

setAssetPath("https://unpkg.com/@esri/calcite-components/dist/calcite/assets");

 

Has anyone else experienced this issue with the calcite-components CDN version 3.0.2? Is there a fix or a recommended workaround—perhaps an updated version or a way to include the missing Korean message file—that resolves this issue without resorting to a previous version?

 

0 Kudos
2 Replies
ReneRubalcava
Honored Contributor

Can you verify that the versions of calcite being referenced are the same?

Calcite 3.0.2, the t9n files are named message.ko.json, not message_ko.json. The CDN asset may not be the same version used by ExB. I'm not familiar with the versions being used, but sounds like the issue.

ReneRubalcava_0-1739895353982.png

 

tasubasu
Occasional Contributor

Thank you for the quick reply @ReneRubalcava !
It seems the CDN asset may not be the same used by EXB as we also checked this after your message and it was due to
" removed Value List component in Calcite's 3.0. Value List was deprecated in Calcite's 1.0 and removed in 3.0.

The "ko", or Korean translations are still provided in other components, including the List component, which should be used in place of Value List."
Until we fix these we have applied the previous calcite-components version 1.4.2 by specifying the CDN version.

0 Kudos