Select to view content in your preferred language

Getting error i18nLabels is undefined in Custom Widget

1649
10
08-30-2021 08:41 AM
Danik-B
New Contributor III

I've created a custom widget in web appbuilder developer edition.  I can add it to an app within web appbuilder without issue but when I try to launch the app I get an "i18nLabels is undefined" error.

Has anyone encountered this?

0 Kudos
10 Replies
Danik-B
New Contributor III

I'm getting the error when I launch the app from web appbuilder.  I get the error in the browser's developer console.

Although, I think I may have figured something out.  In the widget's manifest.json I had set the property hasLocale : false.  I need to do more testing but this may be causing the error.  I removed the property and I did not receive the error.  I'll update this post when I know for sure.

0 Kudos