# Custom widget development

**URL:** <https://community.cumulocity.com/t/custom-widget-development/15008>\
**Category:** Forum\
**Tags:** cumulocity-edge, cumulocity\
**Created:** [July 7, 2026, 11:31am UTC](https://community.cumulocity.com/t/custom-widget-development/15008 "2026-07-07T11:31:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![franck.arrestier](https://avatars.discourse-cdn.com/v4/letter/f/a88e4f/32.png) [@franck.arrestier](https://community.cumulocity.com/u/franck.arrestier)\
**Post date:** [July 7, 2026, 11:31am UTC](https://community.cumulocity.com/t/custom-widget-development/15008/1 "2026-07-07T11:31:21Z")

</div>

Hello,

for our internal IOT platform, we add custom widgets to the initial catalog. We created some for Cockpit 1021 version but with latest release 1023, we have some issues. After authentication, widget is not loaded as expected and page remains blank

Even if we use the latest source code from your example “sample plugin”, we have same issue.

> **[GitHub - Cumulocity-IoT/sample-plugin: A repository containing the latest sources of the...](https://github.com/Cumulocity-IoT/sample-plugin)**
>
> A repository containing the latest sources of the Cumulocity Web SDK based "sample-plugin" application. It also allows to compare the differences between Web SDK versions for this application easily. To quickly get started using the Web SDK, this application can also be just forked instead of the usualy scaffolding approach.

C8Y webSDK version : 1023.14.146

error log

```auto
TypeError: Cannot read properties of undefined (reading 'match')
at TranslateService.parseLocaleCode (c8y-ngx-components.mjs:4705:36)
at c8y-ngx-components.mjs:4595:90

```

Thanks for the support.

Franck.

---

<div class="post-metadata">

**Author:** ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)\
**Post date:** [July 8, 2026, 2:55pm UTC](https://community.cumulocity.com/t/custom-widget-development/15008/2 "2026-07-08T14:55:06Z")

</div>

Can you try using the latest web sdk version [1023.14.181](https://www.npmjs.com/package/@c8y/websdk/v/1023.14.181) ?

1023.14.146 might contain a bug that is causing this.

---

<div class="post-metadata">

**Author:** ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)\
**Post date:** [July 9, 2026, 7:48am UTC](https://community.cumulocity.com/t/custom-widget-development/15008/3 "2026-07-09T07:48:24Z")

</div>

Hi @franck.arrestier,

There is an issue within the Web SDK, as a temporary workaround, you could add:

```auto
    languages: {
      en: {
        name: 'English',
        nativeName: 'English',
      },
    }

```

to the runTime options of the `cumulocity.config.ts`.

Regards,  
Tristan

---

<div class="post-metadata">

**Author:** ![franck.arrestier](https://avatars.discourse-cdn.com/v4/letter/f/a88e4f/32.png) [@franck.arrestier](https://community.cumulocity.com/u/franck.arrestier)\
**Post date:** [July 9, 2026, 7:50am UTC](https://community.cumulocity.com/t/custom-widget-development/15008/4 "2026-07-09T07:50:20Z")

</div>

Hi all,

thanks for your support, I will apply your solution.

In any case, I will inform you on the results.

Best regards,

Franck.

---

<div class="post-metadata">

**Author:** ![franck.arrestier](https://avatars.discourse-cdn.com/v4/letter/f/a88e4f/32.png) [@franck.arrestier](https://community.cumulocity.com/u/franck.arrestier)\
**Post date:** [July 9, 2026, 8:37am UTC](https://community.cumulocity.com/t/custom-widget-development/15008/5 "2026-07-09T08:37:26Z")

</div>

thanks @Tristan_Bastian , it works by adding your code in cumulocity.config.ts.
